summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-15 20:27:12 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-15 20:27:17 +0200
commit5f35b3354369dd8cf610d15bdb3554fdc8bdb866 (patch)
tree54589ec007a2b5a40934ea8d40a8bcffbfcdc600 /.github/workflows
parentd7e4fbece743f57535a71b71cc281e0a8bcdb0ad (diff)
downloadvyos-build-5f35b3354369dd8cf610d15bdb3554fdc8bdb866.tar.gz
vyos-build-5f35b3354369dd8cf610d15bdb3554fdc8bdb866.zip
GitHub: add branch label action
Diffstat (limited to '.github/workflows')
-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