summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-15 20:27:12 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-25 20:47:30 +0200
commitcf392690d354fd3590d3b9c90ac155feb954c20d (patch)
tree6a94d71f35cf084fe6b42b1a767628866df8c436
parenta6043c57aee4cd69fa38f52f7b6119efb8e55eca (diff)
downloadvyos-build-cf392690d354fd3590d3b9c90ac155feb954c20d.tar.gz
vyos-build-cf392690d354fd3590d3b9c90ac155feb954c20d.zip
GitHub: add branch label action
(cherry picked from commit 5f35b3354369dd8cf610d15bdb3554fdc8bdb866)
-rw-r--r--.github/workflows/pull-request-labels.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/pull-request-labels.yml b/.github/workflows/pull-request-labels.yml
new file mode 100644
index 00000000..778daae3
--- /dev/null
+++ b/.github/workflows/pull-request-labels.yml
@@ -0,0 +1,20 @@
+---
+name: Add pull request labels
+
+on:
+ pull_request_target:
+ branches:
+ - current
+ - crux
+ - equuleus
+ - sagitta
+
+jobs:
+ add-pr-label:
+ name: Add PR Labels
+ runs-on: ubuntu-20.04
+ permissions:
+ contents: read
+ pull-requests: write
+ steps:
+ - uses: actions/labeler@v5.0.0-alpha.1