Skip to content

Commit

Permalink
chore: add stale action (carbon-design-system#3553)
Browse files Browse the repository at this point in the history
* chore: add stale action

* chore: remove old stale action
  • Loading branch information
elycheea authored Oct 10, 2023
1 parent 1bcff24 commit b0bb759
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/stale.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Stale # close stale issues
on:
schedule:
- cron: '30 7 * * 4' # runs 7:30 on Thursdays

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
any-of-labels:
'status: needs reproduction,status: waiting for author 💬'
stale-issue-message: |
This issue is stale because it has been open for 30 days with no activity.
Remove the stale label or add a comment, otherwise this issue will be closed in 14 days.
close-issue-message: |
This issue was closed because it has received no activity for 14 days.
stale-issue-label: 'stale 🍞'
close-issue-label: 'status: won’t fix 🔚'
days-before-stale: 30
days-before-close: 14
days-before-pr-close: -1

0 comments on commit b0bb759

Please sign in to comment.