From 1a2e9f5ecbbf8c94b3cac35402f5d3ef262578d8 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 31 May 2023 08:13:17 +0200 Subject: [PATCH] 35172: vars.SYNC_LABELS_BIDIRECT -> vars.SYNC_LABELS_IGNORE_EVENTS --- .github/workflows/sync_labels.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/sync_labels.yml b/.github/workflows/sync_labels.yml index 0171fdb427b..acc02862657 100644 --- a/.github/workflows/sync_labels.yml +++ b/.github/workflows/sync_labels.yml @@ -20,10 +20,7 @@ on: jobs: synchronize: if: | # check variables from repository settings to suspend the job - vars.SYNC_LABELS_ACTIVE == 'yes' && ( - vars.SYNC_LABELS_BIDIRECT == 'yes' || - github.event.action != 'labeled' && - github.event.action != 'unlabeled') + vars.SYNC_LABELS_ACTIVE == 'yes' && ! contains(vars.SYNC_LABELS_IGNORE_EVENTS, github.event.action) runs-on: ubuntu-latest steps: # Checkout the Python script