Skip to content

Commit 17a9f9a

Browse files
authored
Merge branch 'main' into fix/state-pollution
2 parents 8f8e43a + ad7c4c4 commit 17a9f9a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/stale.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Close stale issues & pull requests"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
permissions: read-all
6+
7+
jobs:
8+
stale:
9+
permissions:
10+
pull-requests: write # For reading the PR and adding the label
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v9
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs."
17+
stale-issue-message: "This issue is stale because it has been open 45 days with no activity. Remove `Status: Stale` label or comment or this will be closed in 7 days."
18+
days-before-stale: 45
19+
days-before-close: 7
20+
stale-pr-label: "Status: Stale"
21+
stale-issue-label: "Status: Stale"

0 commit comments

Comments
 (0)