Update remove labels on close workflow

- Added more labels that should be removed
- Included PRs and their labels to be auto-removed
This commit is contained in:
Wolfsblvt
2025-03-10 20:11:05 +01:00
parent c8fbd51554
commit 26093c1ae4

View File

@@ -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'
labels: '🚏 Awaiting User Response,🧑‍💻 In Progress,📌 Keep Open,🚫 Merge Conflicts,🔬 Needs Testing,🔨 Needs Work,⚰️ Stale,⛔ Waiting For External/Upstream'