Automatically put 2.x label on new pull requests to dev-2.x

This commit is contained in:
evgfilim1 2022-06-25 22:51:47 +05:00
parent df23d4fd59
commit 632268af4b
No known key found for this signature in database
GPG key ID: D9F91B9DC64683A2

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