-
-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'chatterino7' into feat/regular-build
- Loading branch information
Showing
52 changed files
with
926 additions
and
614 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
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@v6 | ||
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/changelog-checker@v1.0.0 | ||
if: steps.label-checker.outputs.result != 'skip' |
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
Oops, something went wrong.