From 26093c1ae4ceb4a03b81ce3f37ee26780bb5badd Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Mon, 10 Mar 2025 20:11:05 +0100 Subject: [PATCH] Update remove labels on close workflow - Added more labels that should be removed - Included PRs and their labels to be auto-removed --- ...els-closed.yml => remove-pending-labels-on-close.yml} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename .github/workflows/{manage-pending-labels-closed.yml => remove-pending-labels-on-close.yml} (57%) diff --git a/.github/workflows/manage-pending-labels-closed.yml b/.github/workflows/remove-pending-labels-on-close.yml similarity index 57% rename from .github/workflows/manage-pending-labels-closed.yml rename to .github/workflows/remove-pending-labels-on-close.yml index 892f2f8f9..f2de08c58 100644 --- a/.github/workflows/manage-pending-labels-closed.yml +++ b/.github/workflows/remove-pending-labels-on-close.yml @@ -1,17 +1,22 @@ # When a new comment is added to an issue, if it had the Stale or Awaiting User Response labels, then those labels will be removed +# 🤖 Issues Helper +# https://github.com/marketplace/actions/issues-helper + name: 🎯 Remove Pending Labels on Close on: issues: types: [closed] + pull_request: + types: [closed] jobs: remove-labels: runs-on: ubuntu-latest steps: - name: Remove Labels when Closed - uses: actions-cool/issues-helper@v2 + uses: actions-cool/issues-helper@v3 with: actions: remove-labels token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} - labels: '🚏 Awaiting User Response,⚰️ Stale,👤 Awaiting Maintainer Response' \ No newline at end of file + labels: '🚏 Awaiting User Response,🧑‍💻 In Progress,📌 Keep Open,🚫 Merge Conflicts,🔬 Needs Testing,🔨 Needs Work,⚰️ Stale,⛔ Waiting For External/Upstream'