File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 27
27
- name : Set matrix
28
28
id : set-matrix
29
29
run : |
30
- echo "action: ${{ github.event.action }}"
31
- echo "event: ${{ github.event_name }}"
32
30
build_types='["validation"'
33
31
hw_types='["validation"'
34
32
wokwi_types='["validation"'
66
64
name : Run tests on hardware
67
65
uses : ./.github/workflows/hw.yml
68
66
needs : [gen-matrix, call-build-tests]
69
- if : ${{ github.event_name != 'pull_request ' || contains(github.event.pull_request.labels.*.name, 'hil_test') }}
67
+ if : ${{ github.event_name != 'pull_request_target ' || contains(github.event.pull_request.labels.*.name, 'hil_test') }}
70
68
strategy :
71
69
fail-fast : false
72
70
matrix :
@@ -116,7 +114,7 @@ jobs:
116
114
with :
117
115
script : |
118
116
// Check if event is not a pull request or is a closed pull request
119
- if (github.event_name === 'pull_request ' && github.event.action !== 'closed') {
117
+ if (github.event_name === 'pull_request_target ' && github.event.action !== 'closed') {
120
118
console.log('Skipping cache cleanup');
121
119
return;
122
120
}
You can’t perform that action at this time.
0 commit comments