Skip to content
Snippets Groups Projects
Commit b0b43f8e 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 8492e622
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'
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