We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ef09a1 + 63cd1fd commit 1ca2d20Copy full SHA for 1ca2d20
.github/workflows/sync-labels.yml
@@ -91,8 +91,14 @@ jobs:
91
- name: Determine whether to dry run
92
id: dry-run
93
if: >
94
- github.event == 'pull_request' ||
95
- github.ref != format('refs/heads/{0}', github.event.repository.default_branch)
+ github.event_name == 'pull_request' ||
+ (
96
97
+ github.event_name == 'push' ||
98
+ github.event_name == 'workflow_dispatch'
99
+ ) &&
100
+ github.ref != format('refs/heads/{0}', github.event.repository.default_branch)
101
+ )
102
run: |
103
# Use of this flag in the github-label-sync command will cause it to only check the validity of the
104
# configuration.
0 commit comments