workflows: Split npm-update to PF and non PF tasks

Run PF update every Monday and anything else try to update on Tue, Thu and Sat.
This commit is contained in:
Matej Marusak 2022-04-13 09:51:05 +02:00 committed by Martin Pitt
parent b1fb98b436
commit e91487b558
2 changed files with 29 additions and 2 deletions

View file

@ -1,7 +1,7 @@
name: npm-update
on:
schedule:
- cron: '0 2 * * *'
- cron: '0 2 * * 2,4,6'
# can be run manually on https://github.com/cockpit-project/starter-kit/actions
workflow_dispatch:
jobs:
@ -24,4 +24,4 @@ jobs:
- name: Run npm-update bot
run: |
make bots
bots/npm-update
bots/npm-update ~@patternfly