muele-marlin/.github/workflows/clean-closed.yml

39 lines
783 B
YAML
Raw Normal View History

2021-02-02 21:05:12 +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
2021-03-11 17:23:14 +00:00
strategy:
matrix:
label:
- "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"
2021-02-02 21:05:12 +00:00
steps:
- uses: actions/checkout@v2
- name: Remove Labels
uses: actions-ecosystem/action-remove-labels@v1
with:
github_token: ${{ github.token }}
2021-03-11 17:23:14 +00:00
labels: ${{ matrix.label }}