Add workflow to run test on schedule (#3076)

This commit is contained in:
Jeanne Angeles Franco authored and GitHub committed 2023-03-13 12:44:23 -07:00
1 parent d391dc6ab7
commit 8a7b507d41
1 file changed
+18
+18
View File
@@ -0,0 +1,18 @@
name: trigger-test-cron
# This workflow will run every two hours to determine the frequency of test failures
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 */2 * * *'
jobs:
trigger-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Trigger test workflow
run: gh workflow run test.yml
env:
GITHUB_TOKEN: ${{ github.token }}