Skip to content

Commit

Permalink
chore: changes label check to any_of (#1162)
Browse files Browse the repository at this point in the history
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

Uses any_of as per
https://github.com/agilepathway/label-checker?tab=readme-ov-file#checks
because its technically possible that a PR fits multiple kinds (e.g.
chore + dependency)


#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
  • Loading branch information
jakobmoellerdev authored Nov 28, 2024
1 parent 2585bd5 commit 6aaf3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,5 @@ jobs:
- name: PRs should have at least one qualifying label
uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: kind/chore,kind/bugfix,kind/feature,kind/dependency,kind/refactor
any_of: kind/chore,kind/bugfix,kind/feature,kind/dependency,kind/refactor
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6aaf3fb

Please sign in to comment.