From b26516b3ac7cd7d15a751af4b299a38ac8ac7a57 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 2 Feb 2021 15:05:12 -0600 Subject: [PATCH] Clean up labels on close --- .github/workflows/clean-closed.yml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/clean-closed.yml diff --git a/.github/workflows/clean-closed.yml b/.github/workflows/clean-closed.yml new file mode 100644 index 000000000..7e56c1b73 --- /dev/null +++ b/.github/workflows/clean-closed.yml @@ -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