Skip to content

Commit

Permalink
Fixes labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Dec 6, 2023
1 parent 9358fbc commit a941277
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 20 deletions.
56 changes: 37 additions & 19 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,67 @@
Admin:
- "code/modules/admin/**"
- any-glob-to-any-file:
- "code/modules/admin/**"

# Any file within the config subfolder
Config:
- "config/**"
- changed-files:
- any-glob-to-any-file:
- "config/**"

Dependencies:
- "**/package.json"
- "**/package-lock.json"
- "**/yarn.lock"
- changed-files:
- any-glob-to-any-file:
- "**/package.json"
- "**/package-lock.json"
- "**/yarn.lock"

# When the .DME is changed
DME Edit:
- "./*.dme"
- "**/*.dme"
- changed-files:
- any-glob-to-any-file:
- "./*.dme"
- "**/*.dme"

# Any .dmi changes
Sprites:
- "**/*.dmi"
- changed-files:
- any-glob-to-any-file:
- "**/*.dmi"

# Changes to a .dm or anything in the code subfolder
Code Change:
- "**/*.dm"
- "code/**"
- changed-files:
- any-glob-to-any-file:
- "**/*.dm"
- "code/**"

# Changes to a .dmm or anything in the _map subfolder
Map Change:
- "**/*.dmm"
- "_maps/**"
- changed-files:
- any-glob-to-any-file:
- "**/*.dmm"
- "_maps/**"

# Any changes to .ogg files are marked as sound
Sound:
- "**/*.ogg"
- changed-files:
- any-glob-to-any-file:
- "**/*.ogg"

# Changes to the SQL subfolder
SQL:
- "SQL/**"
- changed-files:
- any-glob-to-any-file:
- "SQL/**"

# Changes to the tgui subfolder
tgui:
- "tgui/**"
- changed-files:
- any-glob-to-any-file:
- "tgui/**"

# Changes to the .Github subfolder
Github:
- ".github/**"

Deprecated Modularization:
- "whitesands/**"
- changed-files:
- any-glob-to-any-file:
- ".github/**"
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
- name: Apply labels based on changed files
if: github.event_name != 'push'
uses: actions/labeler@main
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
Expand Down

0 comments on commit a941277

Please sign in to comment.