mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 16:43:13 +01:00
👷 Adds action to remove stale label, on update
This commit is contained in:
parent
e1241d4552
commit
e54d662f73
1 changed files with 18 additions and 0 deletions
18
.github/workflows/remove-stale-label.yml
vendored
Normal file
18
.github/workflows/remove-stale-label.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
# 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 Stale Label on Update
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
jobs:
|
||||||
|
remove-stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.inputs.name != 'lissy93'}}
|
||||||
|
steps:
|
||||||
|
- name: Remove Stale labels when Updated
|
||||||
|
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'
|
||||||
Loading…
Reference in a new issue