Skip to content

Commit

Permalink
update if conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
zagi25 committed Sep 26, 2024
1 parent 02762fe commit c849da2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/run-nala-on-dme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ on:
jobs:
action:
name: Running E2E & IT
if: or(
equal(github.event.label.name, 'run-on-dme'),
and(equal(github.event.action, 'synchronize'), contains(join(github.event.pull_request.labels.*.name, ','), 'run-on-dme')),
and(equal(github.event.action, 'reopened'), contains(join(github.event.pull_request.labels.*.name, ','), 'run-on-dme'))
if: github.event.label.name == 'run-on-dme'
|| (github.event.action == 'synchronize' && contains(join(github.event.pull_request.labels.*.name, ','), 'run-on-dme'))
|| (github.event.action =='reopened' && contains(join(github.event.pull_request.labels.*.name, ','), 'run-on-dme'))
)
runs-on: ubuntu-latest

Expand Down

0 comments on commit c849da2

Please sign in to comment.