mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 19:35:13 +00:00
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 <donatas@opensourcerouting.org>
This commit is contained in:
parent
4febdb6b9a
commit
3da33b248a
17
.github/workflows/base-branch-label.yml
vendored
Normal file
17
.github/workflows/base-branch-label.yml
vendored
Normal file
@ -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 }}
|
Loading…
Reference in New Issue
Block a user