Skip to content

Add logic to ensure that if someone de-activates the webhook we get notified with a critical alert #2

@MarshallOfSound

Description

@MarshallOfSound

Currently, GitHub exposes an event for someone deleting the webhook (meta.deleted). But users can also de-activate the webhook an no events are fired. If we get a token with the correct permissions we can poll https://api.github.com/orgs/electron/hooks and ensure that we are still present in the hooks list and active === true. If not we can fire a critical alert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions