aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }}