Skip to content

Commit

Permalink
update statuses list
Browse files Browse the repository at this point in the history
  • Loading branch information
laruh committed Dec 16, 2024
1 parent f5e77e0 commit 8092009
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ jobs:
- name: Check PR labels
env:
LABEL_NAMES: ${{ toJson(github.event.pull_request.labels.*.name) }}
if: >
contains(env.LABEL_NAMES, 'status: pending review') ==
contains(env.LABEL_NAMES, 'status: in progress') ==
contains(env.LABEL_NAMES, 'status: blocked')
if: "((contains(env.LABEL_NAMES, 'status: pending review') == contains(env.LABEL_NAMES, 'status: in progress') == contains(env.LABEL_NAMES, 'status: blocked')))"
run: |
echo "PR must have exactly one of these labels: ['status: pending review', 'status: in progress', 'status: blocked']."
exit 1

0 comments on commit 8092009

Please sign in to comment.