mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-11 13:04:35 +00:00
40 lines
813 B
YAML
40 lines
813 B
YAML
|
#
|
||
|
# 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"
|
||
|
- "Needs: Discussion"
|
||
|
- "Needs: Documentation"
|
||
|
- "Needs: More Data"
|
||
|
- "Needs: Patch"
|
||
|
- "Needs: Testing"
|
||
|
- "Needs: Work"
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Remove Labels
|
||
|
uses: actions-ecosystem/action-remove-labels@v1
|
||
|
with:
|
||
|
github_token: ${{ github.token }}
|
||
|
labels: ${{ matrix.label }}
|