aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilhelm Schuster <dev@rot13.io>2023-07-19 18:12:47 +0200
committerGitHub <noreply@github.com>2023-07-19 18:12:47 +0200
commit2f8d4e67b9bd2beeb0960ace587af77bb3e0f5b8 (patch)
tree2aa84acffd5fe68071e8786e39e0caa3129a0130
parent30834c02d059813e8c1cf2ca19d0cc08f0354b4e (diff)
downloadGT5-Unofficial-2f8d4e67b9bd2beeb0960ace587af77bb3e0f5b8.tar.gz
GT5-Unofficial-2f8d4e67b9bd2beeb0960ace587af77bb3e0f5b8.tar.bz2
GT5-Unofficial-2f8d4e67b9bd2beeb0960ace587af77bb3e0f5b8.zip
Automatically label MuTE PRs (#2148)
-rw-r--r--.github/pr-branch-labeler.yml2
-rw-r--r--.github/workflows/label-mute-prs.yml17
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/pr-branch-labeler.yml b/.github/pr-branch-labeler.yml
new file mode 100644
index 0000000000..b3a4edc8ea
--- /dev/null
+++ b/.github/pr-branch-labeler.yml
@@ -0,0 +1,2 @@
+MuTE:
+ base: 'feature/MuTEMaster'
diff --git a/.github/workflows/label-mute-prs.yml b/.github/workflows/label-mute-prs.yml
new file mode 100644
index 0000000000..80ae613b38
--- /dev/null
+++ b/.github/workflows/label-mute-prs.yml
@@ -0,0 +1,17 @@
+name: Pull request labeling
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ branches:
+ - 'feature/MuTEMaster'
+
+jobs:
+ label_prs:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Label MuTE PRs
+ uses: ffittschen/pr-branch-labeler@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}