Skip to content

Commit bc3b867

Browse files
authored
Create stale.yaml
1 parent a3fdd82 commit bc3b867

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/stale.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'Mark stale bug issues'
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 0 * * *' # Runs daily at midnight UTC
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
steps:
14+
- uses: actions/stale@v9
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
stale-issue-message: |
18+
This issue has been marked `stale` due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days.
19+
close-issue-message: |
20+
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
21+
days-before-stale: 60
22+
days-before-close: 30
23+
stale-issue-label: 'stale'
24+
only-issues: true
25+
only-labels: 'bug'

0 commit comments

Comments
 (0)