Skip to content

Commit

Permalink
try plus
Browse files Browse the repository at this point in the history
  • Loading branch information
dimxy committed Dec 16, 2024
1 parent d3b76c7 commit ec1ace3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Check PR labels
env:
LABEL_NAMES: ${{ toJson(github.event.pull_request.labels.*.name) }}
if: (contains(env.LABEL_NAMES, 'under review') != contains(env.LABEL_NAMES, 'in progress'))
if: (contains(env.LABEL_NAMES, 'under review') + contains(env.LABEL_NAMES, 'in progress'))
run: |
echo "PR must have "exactly one" of these labels: ['under review', 'in progress']."
exit 1

0 comments on commit ec1ace3

Please sign in to comment.