Skip to content

Commit

Permalink
Include exclude labels
Browse files Browse the repository at this point in the history
  • Loading branch information
desertaxle committed Jul 8, 2024
1 parent aca801f commit 1e027ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: check-label
run: |
found=false
for required_label in $(yq -r '.changelog.categories[] | select(.title != "Uncategorized") | .labels[]' .github/release.yml); do
for required_label in $(yq -r '(.changelog.categories[] | select(.title != "Uncategorized") | .labels[]), (.changelog.exclude.labels[])' .github/release.yml); do
for pr_label in $(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH"); do
if [[ "$required_label" == "$pr_label" ]]; then
found=true
Expand Down

0 comments on commit 1e027ab

Please sign in to comment.