Skip to content

Commit 25821b7

Browse files
committed
Update hil.yml
1 parent ca03917 commit 25821b7

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/hil.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
name: Run tests
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [opened, reopened, synchronize, labeled]
6-
branches:
7-
- master
86

97
schedule:
108
- cron: '0 2 * * *'
119

10+
push:
11+
branches:
12+
- master
13+
1214
env:
1315
MAX_CHUNKS: 15
1416
WOKWI_TIMEOUT: 120000 # Milliseconds
@@ -19,9 +21,7 @@ concurrency:
1921

2022
jobs:
2123
gen_chunks:
22-
if: |
23-
github.repository == 'espressif/arduino-esp32' &&
24-
( contains(github.event.pull_request.labels.*.name, 'run_tests') || github.event_name == 'schedule' )
24+
if: github.repository == 'espressif/arduino-esp32'
2525
name: Generate Chunks matrix
2626
runs-on: ubuntu-latest
2727
outputs:
@@ -75,6 +75,8 @@ jobs:
7575
wokwi-test:
7676
needs: [gen_chunks, build]
7777
name: ${{matrix.chip}}-Wokwi_Test#${{matrix.chunks}}
78+
if: |
79+
github.event_name == 'schedule' || github.event_name == 'push'
7880
strategy:
7981
fail-fast: false
8082
matrix:
@@ -173,4 +175,3 @@ jobs:
173175
with:
174176
name: Event File
175177
path: ${{github.event_path}}
176-

0 commit comments

Comments
 (0)