mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 23:57:56 +00:00
c44947bbcb
* add auto-label github action * Add missing 'remove-labels' line
21 lines
528 B
YAML
21 lines
528 B
YAML
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'
|