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

rerun-workflow.yml: add support for rerunning failed jobs only #175086

Merged
merged 1 commit into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/rerun-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
startsWith(github.repository, 'Homebrew/') &&
(
github.event.label.name == 'ci-requeue' ||
github.event.label.name == 'ci-requeue-failed-jobs' ||
github.event.label.name == 'ci-retry' ||
github.event.label.name == 'ci-retry-failed-jobs' ||
github.event.label.name == 'ci-skip-appcast' ||
github.event.label.name == 'ci-skip-install' ||
github.event.label.name == 'ci-skip-homepage' ||
Expand All @@ -43,3 +45,11 @@ jobs:
continuous-label: ci-retry
trigger-labels: ci-skip-appcast,ci-skip-install,ci-skip-homepage,ci-skip-livecheck,ci-syntax-only,ci-skip-repository,ci-skip-livecheck-min-os
workflow: ci.yml
- name: Re-run CI failed jobs
uses: reitermarkus/rerun-workflow@440187d88f68a23cfb30caab5f33ac1bcce31b6a
with:
token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
once-label: ci-requeue-failed-jobs
continuous-label: ci-retry-failed-jobs
workflow: ci.yml
failed-jobs-only: true
Loading