Scheduled Trigger for 1.5 #1
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: Scheduled Trigger for 1.5 | |
| on: | |
| schedule: | |
| - cron: '8 2 * * *' # Runs daily at 2:08 UTC | |
| workflow_dispatch: # Allows manual trigger | |
| jobs: | |
| trigger: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write # Allow triggering workflows | |
| steps: | |
| - name: Checkout repository # Required for gh to work | |
| uses: actions/checkout@v4 | |
| - name: Install GitHub CLI | |
| run: | | |
| sudo apt update && sudo apt install gh -y | |
| - name: Authenticate GH CLI | |
| run: | | |
| echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token | |
| - name: Trigger Workflow on v1.5 | |
| run: | | |
| gh workflow run MainDistributionPipeline.yml --ref v1.5 |