Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled GHA notifications #83

Open
Zidious opened this issue Nov 9, 2023 · 0 comments
Open

Scheduled GHA notifications #83

Zidious opened this issue Nov 9, 2023 · 0 comments

Comments

@Zidious
Copy link
Contributor

Zidious commented Nov 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant