Clean up labels on close
This commit is contained in:
parent
2f97505b93
commit
b26516b3ac
32
.github/workflows/clean-closed.yml
vendored
Normal file
32
.github/workflows/clean-closed.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# clean-closed.yml
|
||||
# Remove obsolete labels when an Issue or PR is closed
|
||||
#
|
||||
|
||||
name: Clean Closed
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [closed]
|
||||
issues:
|
||||
types: [closed]
|
||||
|
||||
jobs:
|
||||
remove_label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Remove Labels
|
||||
uses: actions-ecosystem/action-remove-labels@v1
|
||||
with:
|
||||
labels: |
|
||||
S: Don't Merge
|
||||
S: Please Merge
|
||||
S: Please Test
|
||||
help wanted
|
||||
Needs: Discussion
|
||||
Needs: Documentation
|
||||
Needs: More Data
|
||||
Needs: Patch
|
||||
Needs: Testing
|
||||
Needs: Work
|
Loading…
Reference in New Issue
Block a user