forked from espressif/arduino-esp32
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 <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
GitHub
parent
85ec66a4e0
commit
5dc4226cc5
4
.github/workflows/hil.yml
vendored
4
.github/workflows/hil.yml
vendored
@@ -110,7 +110,9 @@ jobs:
|
|||||||
|
|
||||||
event_file:
|
event_file:
|
||||||
name: "Event File"
|
name: "Event File"
|
||||||
if: ${{ always() }}
|
if: |
|
||||||
|
contains(github.event.pull_request.labels.*.name, 'hil_test') ||
|
||||||
|
github.event_name == 'schedule'
|
||||||
needs: Test
|
needs: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Reference in New Issue
Block a user