From 632268af4b7cc277fa977a8191c8d838b66201e2 Mon Sep 17 00:00:00 2001 From: evgfilim1 Date: Sat, 25 Jun 2022 22:51:47 +0500 Subject: [PATCH] Automatically put `2.x` label on new pull requests to `dev-2.x` --- .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