From cf392690d354fd3590d3b9c90ac155feb954c20d Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 15 Sep 2023 20:27:12 +0200 Subject: GitHub: add branch label action (cherry picked from commit 5f35b3354369dd8cf610d15bdb3554fdc8bdb866) --- .github/workflows/pull-request-labels.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pull-request-labels.yml (limited to '.github') 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 -- cgit v1.2.3