mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 12:15:42 +00:00
[CI] Don't autolabel insubstantial PRs 'pleasereview' (#1293)
* Don't label insubstantial PRs 'pleasereview' * Update auto-label-prs.yml * Update auto-label-prs.yml
This commit is contained in:
+5
-4
@@ -1,4 +1,4 @@
|
|||||||
name: Label new PRs
|
name: Label PRs
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened,ready_for_review]
|
types: [opened,ready_for_review]
|
||||||
@@ -7,14 +7,15 @@ jobs:
|
|||||||
label-new-prs:
|
label-new-prs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Label new drafts
|
- name: Label drafts
|
||||||
uses: andymckay/labeler@master
|
uses: andymckay/labeler@master
|
||||||
if: github.event.pull_request.draft == true
|
if: github.event.pull_request.draft == true
|
||||||
with:
|
with:
|
||||||
add-labels: 'A3-inprogress'
|
add-labels: 'A3-inprogress'
|
||||||
- name: Label new PRs
|
remove-labels: 'A0-pleasereview'
|
||||||
|
- name: Label PRs
|
||||||
uses: andymckay/labeler@master
|
uses: andymckay/labeler@master
|
||||||
if: github.event.pull_request.draft == false
|
if: github.event.pull_request.draft == false && ! contains(github.event.pull_request.labels.*.name, 'A2-insubstantial')
|
||||||
with:
|
with:
|
||||||
add-labels: 'A0-pleasereview'
|
add-labels: 'A0-pleasereview'
|
||||||
remove-labels: 'A3-inprogress'
|
remove-labels: 'A3-inprogress'
|
||||||
|
|||||||
Reference in New Issue
Block a user