Skip to content
Snippets Groups Projects
Commit c44947bb authored by s3krit's avatar s3krit Committed by GitHub
Browse files

[CI] Auto-label new PRs according to draft status (#6361)

* add auto-label github action

* Add missing 'remove-labels' line
parent 3f30f69b
No related merge requests found
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'
remove-labels: 'A3-inprogress'
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