From: Donatas Abraitis Date: Wed, 8 Jun 2022 08:34:25 +0000 (+0300) Subject: github: Add base branch label to every PR to distinguish easily X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3352cc9132e477ea0a3aa28cf7877f29a36eed63;p=matthieu%2Ffrr.git github: Add base branch label to every PR to distinguish easily Signed-off-by: Donatas Abraitis --- diff --git a/.github/workflows/base-branch-label.yml b/.github/workflows/base-branch-label.yml new file mode 100644 index 0000000000..01da280911 --- /dev/null +++ b/.github/workflows/base-branch-label.yml @@ -0,0 +1,19 @@ +name: Add base branch label + +on: + pull_request_target: + types: + - opened + - reopened + +jobs: + label: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - uses: actions-ecosystem/action-add-labels@v1 + with: + labels: | + ${{ github.event.pull_request.base.ref }}