File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 paths :
66 - ' releng/update-site-tests/**'
77 - ' .github/workflows/update-site-tests.yml'
8+
89 pull_request :
910 paths :
1011 - ' releng/update-site-tests/**'
1112 - ' .github/workflows/update-site-tests.yml'
13+
1214 schedule :
1315 # Runs every day at 00:00 UTC
1416 - cron : ' 0 0 * * *'
17+
1518 workflow_dispatch :
1619
20+ workflow_run :
21+ workflows : ["Espressif-IDE Cross-platform Release"]
22+ types :
23+ - completed
24+
1725permissions :
1826 contents : read
1927
2028jobs :
2129 update-site-tests :
30+ if : ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
2231 runs-on : [self-hosted, eclipse, BrnoUBU0004]
2332
2433 steps :
2534 - name : Checkout repository
2635 uses : actions/checkout@v4
2736
37+ - name : Print trigger info
38+ run : |
39+ echo "Event: ${{ github.event_name }}"
40+ if [ "${{ github.event_name }}" = "workflow_run" ]; then
41+ echo "Triggered by workflow: ${{ github.event.workflow_run.name }}"
42+ echo "Conclusion: ${{ github.event.workflow_run.conclusion }}"
43+ echo "Head branch: ${{ github.event.workflow_run.head_branch }}"
44+ fi
45+
2846 - name : Make scripts executable
2947 run : |
3048 chmod +x releng/update-site-tests/*.sh
You can’t perform that action at this time.
0 commit comments