Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:truck: Renamed and refactored the auto pending label action

Alicia Sykes0de297b56d18
diff --git a/.github/workflows/manage-pending-labels-closed.yml b/.github/workflows/manage-pending-labels-closed.yml
new file mode 100644
index 00000000..fa19038b
--- /dev/null
+++ b/.github/workflows/manage-pending-labels-closed.yml
@@ -0,0 +1,17 @@
+# 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, providing it was not user lissy93 who added the commend.
+name: 🎯 Remove Pending Labels on Close
+on:
+ issues:
+ types: [closed]
+jobs:
+ remove-labels:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Remove Labels when Closed
+ uses: actions-cool/issues-helper@v2
+ with:
+ actions: remove-labels
+ token: ${{ secrets.BOT_GITHUB_TOKEN }}
+ issue-number: ${{ github.event.issue.number }}
+ labels: '🚏 Awaiting User Response,⚰️ Stale,πŸ‘€ Awaiting Maintainer Response'
diff --git a/.github/workflows/remove-stale-label.yml b/.github/workflows/manage-pending-labels.yml
similarity index 100%
rename from .github/workflows/remove-stale-label.yml
rename to .github/workflows/manage-pending-labels.yml