Skip to content

Commit 0b8db0b

Browse files
authored
Add github acgtion (#528)
1 parent a6bdd3f commit 0b8db0b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow uses the following github action to automate
2+
# management of stale issues and prs in this repo:
3+
# https://github.com/marketplace/actions/close-stale-issues
4+
5+
name: Close stale issues and PRs
6+
7+
on:
8+
workflow_dispatch:
9+
schedule:
10+
- cron: '0 0 * * 0'
11+
12+
permissions:
13+
issues: write
14+
pull-requests: write
15+
16+
jobs:
17+
stale:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/[email protected]
21+
with:
22+
days-before-issue-stale: 30
23+
days-before-issue-close: 10
24+
days-before-pr-stale: -1
25+
days-before-pr-close: -1
26+
stale-issue-label: auto-triage-stale
27+
stale-issue-message: 👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out.
28+
close-issue-message: As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.
29+
exempt-issue-labels: auto-triage-skip
30+
exempt-all-milestones: true
31+
remove-stale-when-updated: true
32+
enable-statistics: true
33+
operations-per-run: 60

0 commit comments

Comments
 (0)