Skip to content

Commit a780188

Browse files
authored
Fix condition on labels (#175)
1 parent c48b990 commit a780188

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ack.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ jobs:
2727
# either title, body or source branch name. We ignore potential failure
2828
# of this step.
2929
- name: Auto-add labels
30-
if: |
31-
github.event.action == "opened" &&
32-
!contains(fromJSON('["bug", "feature", "skip-changelog", "minor", "enhancement"]'), github.event.issue.labels.*.name)
30+
if: github.event.action == 'opened' && github.event.issue.labels.length == 0
3331
uses: release-drafter/release-drafter@v6
3432
with:
3533
# we only want to use the auto-labeler bits:

0 commit comments

Comments
 (0)