Files
pezkuwi-subxt/polkadot/.github/workflows/auto-label-prs.yml
T
s3krit d4e6013d38 [CI] Don't autolabel insubstantial PRs 'pleasereview' (#1293)
* Don't label insubstantial PRs 'pleasereview'

* Update auto-label-prs.yml

* Update auto-label-prs.yml
2020-06-20 10:40:48 +02:00

22 lines
634 B
YAML

name: Label PRs
on:
pull_request:
types: [opened,ready_for_review]
jobs:
label-new-prs:
runs-on: ubuntu-latest
steps:
- name: Label drafts
uses: andymckay/labeler@master
if: github.event.pull_request.draft == true
with:
add-labels: 'A3-inprogress'
remove-labels: 'A0-pleasereview'
- name: Label PRs
uses: andymckay/labeler@master
if: github.event.pull_request.draft == false && ! contains(github.event.pull_request.labels.*.name, 'A2-insubstantial')
with:
add-labels: 'A0-pleasereview'
remove-labels: 'A3-inprogress'