From c849da2f9bc4d49469b42d46b251d29a758c1707 Mon Sep 17 00:00:00 2001 From: Ratko Zagorac Date: Thu, 26 Sep 2024 14:44:36 +0200 Subject: [PATCH] update if conditional --- .github/workflows/run-nala-on-dme.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-nala-on-dme.yml b/.github/workflows/run-nala-on-dme.yml index ccb60eb..7d8ef9e 100644 --- a/.github/workflows/run-nala-on-dme.yml +++ b/.github/workflows/run-nala-on-dme.yml @@ -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