summaryrefslogtreecommitdiffstats
path: root/.github/workflows/base-branch-label.yml
blob: 5c5d8290b7d318a2f1bd3899fc5398f8a5a1e132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Add base branch label

on:
  pull_request_target:
    types:
      - opened
      - reopened

jobs:
  label:
    if: github.repository == 'frrouting/frr'
    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 }}