Skip to content

Commit 4ae7192

Browse files
authored
feat(CI): Add stale workflow
1 parent a72dd75 commit 4ae7192

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/stale.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-22.04
13+
permissions:
14+
contents: write
15+
issues: write
16+
pull-requests: write
17+
steps:
18+
- uses: actions/stale@v9
19+
with:
20+
repo-token: ${{ secrets.GITHUB_TOKEN }}
21+
days-before-stale: 30
22+
days-before-close: 14
23+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.'
24+
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.'
25+
exempt-issue-labels: 'in-progress, no-stale'
26+
exempt-pr-labels: 'in-progress, no-stale'
27+
remove-stale-when-updated: true

0 commit comments

Comments
 (0)