2022-05-24 03:03:59 +00: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
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
label:
|
|
|
|
- "S: Don't Merge"
|
|
|
|
- "S: Hold for 2.1"
|
|
|
|
- "S: Please Merge"
|
|
|
|
- "S: Please Test"
|
|
|
|
- "help wanted"
|
2023-11-29 20:19:27 +00:00
|
|
|
- "Bug: Potential ?"
|
2022-05-24 03:03:59 +00:00
|
|
|
- "Needs: Discussion"
|
|
|
|
- "Needs: Documentation"
|
|
|
|
- "Needs: More Data"
|
|
|
|
- "Needs: Patch"
|
|
|
|
- "Needs: Testing"
|
|
|
|
- "Needs: Work"
|
|
|
|
|
|
|
|
steps:
|
2023-05-23 08:15:02 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-05-24 03:03:59 +00:00
|
|
|
- name: Remove Labels
|
|
|
|
uses: actions-ecosystem/action-remove-labels@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ github.token }}
|
|
|
|
labels: ${{ matrix.label }}
|