From b5100587e6ddbcf1684f58d4f72eaacaaee2577d Mon Sep 17 00:00:00 2001 From: Evgen Fil Date: Sun, 26 Jun 2022 00:32:28 +0500 Subject: [PATCH] Automatically put `2.x` label on new pull requests to `dev-2.x` (#939) --- .github/workflows/label_pr.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/label_pr.yaml diff --git a/.github/workflows/label_pr.yaml b/.github/workflows/label_pr.yaml new file mode 100644 index 0000000000..2b58136ab6 --- /dev/null +++ b/.github/workflows/label_pr.yaml @@ -0,0 +1,17 @@ +name: Label new pull request + +on: + pull_request_target: + types: + - opened + branches: + - dev-2.x + +jobs: + put-label: + runs-on: ubuntu-latest + steps: + - name: Add 2.x label + uses: andymckay/labeler@master + with: + add-labels: 2.x