From 321e674cc697c9202a0bc2b04e46e12fc51e4840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Fri, 1 Dec 2023 15:58:31 +0100 Subject: [PATCH] chore: fix argos workflow (#9601) --- .github/workflows/argos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/argos.yml b/.github/workflows/argos.yml index 02810bb196..198a089520 100644 --- a/.github/workflows/argos.yml +++ b/.github/workflows/argos.yml @@ -23,7 +23,7 @@ jobs: # Argos is heavy to run # We only want to trigger Argos on PRs with the 'Argos' label # See https://stackoverflow.com/questions/62325286/run-github-actions-when-pull-requests-have-a-specific-label - if: ${{ github.ref_name == 'main' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Argos')) }} + if: ${{ (github.event_name != 'pull_request' && github.ref_name == 'main') || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Argos')) }} runs-on: ubuntu-latest steps: - name: Check out repository code