This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
Re-run Workflow #15659
This file contains 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
name: Re-run Workflow | |
on: | |
workflow_run: | |
workflows: | |
- CI | |
types: | |
- completed | |
pull_request_target: | |
types: | |
- closed | |
- labeled | |
- unlabeled | |
schedule: | |
- cron: '30 */3 * * *' # every 3 hours (30 minutes past the hour) | |
permissions: | |
contents: read | |
jobs: | |
rerun-workflow: | |
if: > | |
startsWith(github.repository, 'Homebrew/') && | |
( | |
github.event.label.name == 'ci-requeue' || | |
github.event.label.name == 'ci-retry' || | |
github.event.label.name == 'ci-skip-appcast' || | |
github.event.label.name == 'ci-skip-install' || | |
github.event.label.name == 'ci-skip-livecheck' || | |
github.event.label.name == 'ci-skip-livecheck-min-os' || | |
github.event.label.name == 'ci-skip-repository' || | |
github.event.label.name == 'ci-syntax-only' || | |
!github.event.label.name | |
) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Re-run CI workflow | |
uses: reitermarkus/rerun-workflow@a5db91f022cc936bf2d7a9d5b635f3d410e8e197 | |
with: | |
token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }} | |
once-label: ci-requeue | |
continuous-label: ci-retry | |
trigger-labels: ci-skip-appcast,ci-skip-install,ci-skip-livecheck,ci-syntax-only,ci-skip-repository,ci-skip-livecheck-min-os | |
workflow: ci.yml |