We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0985403 commit 9611f72Copy full SHA for 9611f72
.github/workflows/schedule-1.2.yml
@@ -0,0 +1,27 @@
1
+name: Scheduled Trigger for 1.2
2
+
3
+on:
4
+ schedule:
5
+ - cron: '0 12 * * *' # Runs at 12:00 UTC every day
6
+ workflow_dispatch: # Allows manual trigger
7
8
+jobs:
9
+ trigger:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ actions: write # Allow triggering workflows
13
+ steps:
14
+ - name: Checkout repository # Required for gh to work
15
+ uses: actions/checkout@v4
16
17
+ - name: Install GitHub CLI
18
+ run: |
19
+ sudo apt update && sudo apt install gh -y
20
21
+ - name: Authenticate GH CLI
22
23
+ echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
24
25
+ - name: Trigger Workflow on my-branch
26
27
+ gh workflow run MainDistributionPipeline.yml --ref v1.2
0 commit comments