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 }}