Fix the PR labeler action (#2502)

## About The Pull Request

Switch the PR labeler action to use GitHub's built-in action because the
current one has been broken for some time now, changes the "Map
Modification" label config to be "Map Edit".

## Why It's Good For The Game

Broken workflow no good labeled PRs good

## Proof Of Testing

https://github.com/TealSeer/Bubberstation/pull/1 (I had to merge the
workflow change to master to get it to trigger which I then hard reset
so my master wasn't fucked up, so you can't see the config change in
this PR but you can see the action working properly)

</details>

## Changelog

No in game changes
This commit is contained in:
Roxy
2024-11-20 14:58:12 -05:00
committed by GitHub
parent f24d35af7d
commit d4647b72b5
2 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Changes to anything in the _map subfolder
Map Modification:
Map Edit:
- changed-files:
- any-glob-to-any-file: '_maps/**'
+5 -7
View File
@@ -1,13 +1,11 @@
name: PR Labeling
on:
schedule:
- cron: '*/5 * * * *'
- pull_request_target
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: paulfantom/periodic-labeler@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
LABEL_MAPPINGS_FILE: .github/labeler.yml
- uses: actions/labeler@v5