build(deps): bump lib/magic_enum from a7f3561
to d63a9d6
#40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Changelog Category Check | |
on: | |
pull_request: | |
types: | |
- labeled | |
- unlabeled | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
changelog-category-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v7 | |
id: label-checker | |
with: | |
result-encoding: "string" | |
script: | | |
const response = await github.rest.issues.listLabelsOnIssue({ | |
issue_number: context.payload.pull_request.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo | |
}); | |
if (new Set(response.data.map(label => label.name)).has("skip-changelog-checker")) { | |
return "skip"; | |
} | |
return ""; | |
- uses: pajlads/[email protected] | |
if: steps.label-checker.outputs.result != 'skip' |