Skip to content

Commit

Permalink
Update pr-labels.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hspencer77 authored Jul 31, 2024
1 parent 499fe83 commit 6c486fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
LABELS: ${{ toJson(github.event.pull_request.labels.*.name) }}
run: |
if ! jq --exit-status 'any(test("kind/feature") or test("kind/docs") or test("kind/improvement") or test("kind/bug") or test("skip-release-notes") or test("area/tech-debt"))' or test("enhancement")) or test("critical"))'' >/dev/null <<< $LABELS; then
if ! jq --exit-status 'any(test("kind/feature") or test("kind/docs") or test("kind/improvement") or test("kind/bug") or test("skip-release-notes") or test("area/tech-debt")) or test("enhancement")) or test("critical"))' >/dev/null <<< $LABELS; then
echo "::error ::Please set either kind/feature, kind/improvement, kind/bug, kind/docs, area/tech-debt, enhancement, critical, or skip-release-notes as label"
exit 1
fi

0 comments on commit 6c486fd

Please sign in to comment.