-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into cleanup/detrav
- Loading branch information
Showing
8 changed files
with
67 additions
and
45 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,41 @@ | ||
# Credit to TechLord22 for writting this for the GTCEu repo | ||
|
||
# Manages labels on PRs before allowing merging | ||
name: Pull Request Labels | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
|
||
# if a second commit is pushed quickly after the first, cancel the first one's build | ||
concurrency: | ||
group: pr-labels-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
Labels: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
pull-requests: read # needed to utilize required-labels | ||
|
||
steps: | ||
- name: Check for Merge-Blocking Labels # blocks merge if present | ||
uses: mheap/github-action-required-labels@v5 | ||
with: | ||
mode: exactly | ||
count: 0 | ||
labels: 'ongoing freeze - do not merge' | ||
exit_type: failure | ||
|
||
- name: Check for Required Labels # require at least one of these labels | ||
uses: mheap/github-action-required-labels@v5 | ||
with: | ||
mode: minimum | ||
count: 1 | ||
labels: 'Affects Balance, bug fix, refactor, enhancement, MuTE, new feature, refactor' | ||
exit_type: failure |
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
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
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
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
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
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
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