From: Donatas Abraitis Date: Mon, 23 May 2022 13:56:39 +0000 (+0300) Subject: github: Add base branch label to every PR to distinguish easily X-Git-Tag: base_8.3~29^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F11250%2Fhead;p=mirror%2Ffrr.git github: Add base branch label to every PR to distinguish easily Faster notice and filter backports by labels per release. 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..8fd273fcee --- /dev/null +++ b/.github/workflows/base-branch-label.yml @@ -0,0 +1,17 @@ +name: Add base branch label + +on: + pull_request: + types: + - opened + - reopened + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-ecosystem/action-add-labels@v1 + with: + labels: | + ${{ github.event.pull_request.base.ref }}