Test Workflows Nightly and Manual #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Workflows Nightly and Manual | |
on: | |
schedule: | |
- cron: '0 2 * * *' | |
workflow_dispatch: | |
inputs: | |
git_ref_to_test: | |
description: 'The Git ref (branch, tag, or SHA) to run tests against.' | |
required: true | |
type: string | |
default: 'master' | |
permissions: | |
contents: read | |
jobs: | |
run_workflow_tests: | |
name: Run Workflow Tests | |
uses: ./.github/workflows/test-workflows-callable.yml | |
with: | |
git_ref: ${{ github.event_name == 'schedule' && 'master' || github.event.inputs.git_ref_to_test }} | |
send_webhook_report: false | |
pr_number: '' | |
secrets: inherit |