From 83ea63dae5eff938870a21bb32d5f8bf3c4482aa Mon Sep 17 00:00:00 2001 From: evgfilim1 Date: Sat, 25 Jun 2022 22:49:55 +0500 Subject: [PATCH] Automatically put `3.x` label on new pull requests to `dev-3.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 00000000..dda333ae --- /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-3.x + +jobs: + put-label: + runs-on: ubuntu-latest + steps: + - name: Add 3.x label + uses: andymckay/labeler@master + with: + add-labels: 3.x