Repository navigation
Failure issue: a failed run nobody watched opens an issue, and closes it when it passes - #21
Merged
Merged
Conversation
… it when it passes A scheduled run, a push to main or a release tag that fails ([Pages]) opens an issue labeled ci-failure, naming the failed jobs and steps and linking the run; a later failure comments on it, and the next run that passes closes it. A pull request's runs are left to the pull request.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A failed run nobody was watching now opens an issue. Today nothing does: a scheduled run, a push to main or a release tag can fail without a word to anyone.
.github/workflows/failure-issue.ymlruns when Pages completes:ci-failure. It names the failed jobs and steps, the event, the branch or tag and the commit, and links the run, whose logs and artifacts are on its page. A later failure comments on the open issue rather than opening another.ci-failureissues are what is broken now.None of the existing workflows changes.
workflow_runworkflows run from the default branch, so this takes effect once merged. The same file goes into each mobiumdev repository with unattended workflows, listing that repository's own.actionlint is clean, shell code included.