Increase the number of workflow run (#3078)
This commit is contained in:
1 parent
8a7b507d41
commit
fd56f7ee1a
1 file changed
+6
-2
@@ -4,7 +4,7 @@ name: trigger-test-cron
|
||||
on:
|
||||
schedule:
|
||||
# * is a special character in YAML so you have to quote this string
|
||||
- cron: '0 */2 * * *'
|
||||
- cron: '0 * * * *'
|
||||
|
||||
jobs:
|
||||
trigger-test:
|
||||
@@ -13,6 +13,10 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Trigger test workflow
|
||||
run: gh workflow run test.yml
|
||||
run: |
|
||||
run=10
|
||||
for i in $(seq $run); do
|
||||
gh workflow run test.yml
|
||||
done
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
Reference in new issue
Block a user