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 }}