Run `rerun-workflow` less often.

This commit is contained in:
Markus Reiter 2020-09-06 17:53:43 +02:00
parent 64be5ea1ca
commit fcb5dd5378
1 changed files with 8 additions and 1 deletions

View File

@ -11,10 +11,17 @@ on:
- labeled
- unlabeled
schedule:
- cron: '*/10 * * * *'
- cron: '0 */3 * * *' # every 3 hours
jobs:
rerun-workflow:
if: >
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