Automatically put 2.x label on new pull requests to dev-2.x (#939)

This commit is contained in:
Evgen Fil 2022-06-26 00:32:28 +05:00 committed by GitHub
parent df23d4fd59
commit b5100587e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
.github/workflows/label_pr.yaml vendored Normal file
View file

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