2021-02-02 16:05:12 -05:00
|
|
|
#
|
|
|
|
# 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
|
2021-03-11 12:23:14 -05:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
label:
|
|
|
|
- "S: Don't Merge"
|
2021-03-13 05:57:47 -05:00
|
|
|
- "S: Hold for 2.1"
|
2021-03-11 12:23:14 -05:00
|
|
|
- "S: Please Merge"
|
|
|
|
- "S: Please Test"
|
|
|
|
- "help wanted"
|
|
|
|
- "Needs: Discussion"
|
|
|
|
- "Needs: Documentation"
|
|
|
|
- "Needs: More Data"
|
|
|
|
- "Needs: Patch"
|
|
|
|
- "Needs: Testing"
|
|
|
|
- "Needs: Work"
|
|
|
|
|
2021-02-02 16:05:12 -05:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Remove Labels
|
|
|
|
uses: actions-ecosystem/action-remove-labels@v1
|
|
|
|
with:
|
2021-03-11 10:55:42 -05:00
|
|
|
github_token: ${{ github.token }}
|
2021-03-11 12:23:14 -05:00
|
|
|
labels: ${{ matrix.label }}
|