Unverified Commit 7a21317f authored by s3krit's avatar s3krit Committed by GitHub
Browse files

[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
parent 72bb3dfc
Pipeline #96914 passed with stages
in 24 minutes and 27 seconds
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'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment