Skip to content

Scheduled GHA notifications #83

Open
@Zidious

Description

@Zidious

We have several GHA's that are on a CRON schedule, if the workflow fails the team is not notified of the failure instead an individual is notified:

Notifications for scheduled workflows are sent to the user who initially created the workflow. If a different user updates the cron syntax in the workflow file, subsequent notifications will be sent to that user instead. If a scheduled workflow is disabled and then re-enabled, notifications will be sent to the user who re-enabled the workflow rather than the user who last modified the cron syntax.

https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs

To get around this 1-bus factor, we can create a new GHA that is called on failure() that can notify a particular slack channel of what repo and workflow failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions