Skip to content

Commit 374834b

Browse files
committed
ci: add stale workflow
1 parent d0bcf4d commit 374834b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Stale
2+
3+
permissions:
4+
issues: write
5+
pull-requests: write
6+
7+
on:
8+
workflow_dispatch:
9+
schedule:
10+
# At 08:00 on every Monday.
11+
- cron: "0 8 * * 1"
12+
13+
jobs:
14+
stale:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/stale@v9
18+
with:
19+
days-before-pr-stale: 180
20+
days-before-pr-close: 14
21+
stale-pr-message:
22+
"This PR has been open for **180 days** with no activity. Remove the stale label or add
23+
a comment or it will be closed in **14 days**."
24+
days-before-issue-stale: 365
25+
days-before-issue-close: -1
26+
stale-issue-message:
27+
"This issue has been open for **365 days** with no activity. Marking as stale."

0 commit comments

Comments
 (0)