Skip to content

Commit

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

0 comments on commit 227d736

Please sign in to comment.