aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/auto-label-pr.yml
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-09-08 01:01:59 +0200
committerGitHub <noreply@github.com>2024-09-08 01:01:59 +0200
commit05837fa96d914350234afab1dafaeac3e332e374 (patch)
tree201027f1f099695d35e24bea152812fe5a5a9175 /.github/workflows/auto-label-pr.yml
parent62b92155adc962fce83206c5de9aa210023e14da (diff)
downloadNorthstarMods-05837fa96d914350234afab1dafaeac3e332e374.tar.gz
NorthstarMods-05837fa96d914350234afab1dafaeac3e332e374.zip
Add GitHub Action to automatically label PRs (#871)v1.28.0-rc4
Adds "needs code review" and "needs testing" to all new PRs Co-authored-by: ASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com>
Diffstat (limited to '.github/workflows/auto-label-pr.yml')
-rw-r--r--.github/workflows/auto-label-pr.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/auto-label-pr.yml b/.github/workflows/auto-label-pr.yml
new file mode 100644
index 00000000..659ff351
--- /dev/null
+++ b/.github/workflows/auto-label-pr.yml
@@ -0,0 +1,14 @@
+name: Auto-Labeler
+on:
+ pull_request_target:
+ types:
+ - opened
+
+jobs:
+ labeler:
+ permissions:
+ contents: read
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v5