diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/base-branch-label.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/base-branch-label.yml b/.github/workflows/base-branch-label.yml new file mode 100644 index 000000000..8fd273fce --- /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 }} |