mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-06-30 06:12:15 -06:00
* cache.yml: update to match main repo * ci.yml: update to match main repo * dispatch-command.yml: update to match main repo * rebase.yml: update to match main repo * rerun-workflow.yml: update to match main repo * triage.yml: update to match main repo
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
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-syntax-only' ||
|
|
!github.event.label.name
|
|
)
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Re-run CI workflow
|
|
uses: reitermarkus/rerun-workflow@c8d5bc3526acb50c12004f31c0dcb1598c87e32d
|
|
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-syntax-only
|
|
workflow: ci.yml
|