Skip to content

Commit 0b6a762

Browse files
ci: add verification after Espressif-IDE release workflow completed (#1443)
1 parent 9b1606f commit 0b6a762

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/update-site-test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,44 @@ on:
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+
1725
permissions:
1826
contents: read
1927

2028
jobs:
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

0 commit comments

Comments
 (0)