Skip to content

Commit 6f2ff79

Browse files
committed
Add cleanup CI
1 parent d8fd4d2 commit 6f2ff79

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/stale.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '30 1 * * *'
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v9
16+
with:
17+
days-before-stale: 365
18+
days-before-close: 1
19+
stale-issue-message: >
20+
This issue has been automatically marked as stale because it has not had
21+
recent activity. It will be closed if no further activity occurs. If the
22+
problem still exists in the latest version, feel free to raise it again
23+
in a new issue. Please remember to keep the description terse and include
24+
a minimal example to help us look into it.
25+
stale-pr-message: >
26+
This pull request has been automatically marked as stale because it has not had
27+
recent activity. It will be closed if no further activity occurs.
28+
exempt-all-assignees: true
29+
operations-per-run: 1000

0 commit comments

Comments
 (0)