Skip to content

Commit

Permalink
Merge pull request #9 from soehms/sync_labels_ignore_events
Browse files Browse the repository at this point in the history
Sync labels ignore events
  • Loading branch information
soehms authored Jun 1, 2023
2 parents 9ac85b8 + 04aa4c2 commit 947ed03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/sync_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 947ed03

Please sign in to comment.