-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: basic pr auto labeler ci: basic pr auto labeler Intended to automate what is otherwise a boring task for maintainers, this uses basic glob matching to apply labels to prs Not finished it's just the basics to get this boy rolling, it needs more patters, probably the company of a smarter workflow based on something else, maybe some colors, cover all mods (I'll let you do that mod maintainers ;)) Contributes to #55729 * make patters more general more general is better in this case, select major categories based on file extensions
- Loading branch information
1 parent
eb631cd
commit 8d56919
Showing
2 changed files
with
63 additions
and
0 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,51 @@ | ||
"C++": | ||
- "**/*.cpp" | ||
- "**/*.h" | ||
|
||
"Json": | ||
- "**/*.json" | ||
|
||
"Python": | ||
- "**/*.py" | ||
|
||
"Documentation": | ||
- "**/*.md" | ||
- doc/**/* | ||
|
||
"Code: Tooling": | ||
- tools/**/* | ||
|
||
"Code: Test": | ||
- tests/**/* | ||
|
||
"SDL: Tiles / Sound": | ||
- gfx/**/* | ||
- sound/**/* | ||
|
||
"Translation": | ||
- lang/**/* | ||
|
||
"Mods: Aftershock": | ||
- data/mods/Aftershock/**/* | ||
- data/mods/aftershock_exoplanet/**/* | ||
|
||
"Mods: Dark Days of the Dead": | ||
- data/mods/classic_zombies/**/* | ||
|
||
"Mods: Dark Skies": | ||
- data/mods/Dark-Skies-Above/**/* | ||
|
||
"Mods: Dinoclysm": | ||
- data/mods/DinoMod/**/* | ||
|
||
"Mods: Generic Guns": | ||
- data/mods/Generic_Guns/**/* | ||
|
||
"Mods: MMA": | ||
- data/mods/MMA/**/* | ||
|
||
"Mods: Magiclysm": | ||
- data/mods/Magiclysm/**/* | ||
|
||
"Mods: No Hope": | ||
- data/mods/No_Hope/**/* |
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,12 @@ | ||
name: "Pull Request Labeler" | ||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
sync-labels: true |