summaryrefslogtreecommitdiffstats
path: root/.github/workflows/base-branch-label.yml
blob: 8fd273fceede17980d295870d37054beb9e2eede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 }}