Skip to content

Commit 51c39bf

Browse files
authored
chore: add stale action
1 parent 8df0624 commit 51c39bf

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/stale.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v3
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'This issue has been automatically marked as stale and will be closed because it has not had recent activity.'
17+
stale-pr-message: 'This PR has been automatically marked as stale and will be closed because it has not had recent activity.'
18+
stale-issue-label: 'no-activity'
19+
stale-pr-label: 'no-activity'

0 commit comments

Comments
 (0)