mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 10:27:59 +00:00
[CI] Auto-label new PRs depending on status (#1267)
* Add auto-labelling github action * Update auto-label-prs.yml * Update auto-label-prs.yml * Update auto-label-prs.yml
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
name: Label new PRs
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened,ready_for_review]
|
||||
|
||||
jobs:
|
||||
label-new-prs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Label new drafts
|
||||
uses: andymckay/labeler@master
|
||||
if: github.event.pull_request.draft == true
|
||||
with:
|
||||
add-labels: 'A3-inprogress'
|
||||
- name: Label new PRs
|
||||
uses: andymckay/labeler@master
|
||||
if: github.event.pull_request.draft == false
|
||||
with:
|
||||
add-labels: 'A0-pleasereview'
|
||||
Reference in New Issue
Block a user