Skip to content

Commit 5dc4226

Browse files
authored
hil.yml: Run the Event-file job only when the PR is labeled or the (#6717)
Workflow is scheduled. It looks like the depedency on the Test job was not enough and the Event job was triggering even without the label. Signed-off-by: Abdelatif Guettouche <[email protected]>
1 parent 85ec66a commit 5dc4226

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: .github/workflows/hil.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ jobs:
110110

111111
event_file:
112112
name: "Event File"
113-
if: ${{ always() }}
113+
if: |
114+
contains(github.event.pull_request.labels.*.name, 'hil_test') ||
115+
github.event_name == 'schedule'
114116
needs: Test
115117
runs-on: ubuntu-latest
116118
steps:

0 commit comments

Comments
 (0)