forked from new-frontiers-14/frontier-station-14
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PR workflow for automatically labeling mapping changes. (new-fron…
…tiers-14#778) * Create pr-labeler.yml * Update labeler.yml
- Loading branch information
1 parent
ee58a6a
commit dd222bc
Showing
2 changed files
with
31 additions
and
11 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 |
---|---|---|
@@ -1,12 +1,8 @@ | ||
"Changes: Sprites": | ||
- '**/*.rsi/*.png' | ||
"Map": | ||
- 'Resources/Maps/**/*.yml' # All .yml files in the Resources/Maps directory, recursive. | ||
- 'Resources/Prototypes/Maps/frontier.yml' | ||
- 'Resources/Prototypes/_NF/Shipyard/*.yml' # POI's are also here for some reason. | ||
|
||
"Changes: Map": | ||
- 'Resources/Maps/*.yml' | ||
- 'Resources/Prototypes/Maps/*.yml' | ||
|
||
"Changes: UI": | ||
- '**/*.xaml*' | ||
|
||
"No C#": | ||
- all: ["!**/*.cs"] | ||
"Shuttle": | ||
- 'Resources/Maps/Shuttles/*.yml' # All .yml files directly in the Resources/Maps/Shuttles directory. | ||
- 'Resources/Prototypes/_NF/Shipyard/*.yml' # Shuttles! |
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,24 @@ | ||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler | ||
|
||
# This is entirely a github default file, except for this comment, but it should be fine. -Tsjip | ||
|
||
name: Labeler | ||
on: [pull_request_target] | ||
|
||
jobs: | ||
label: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |