We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93fa07e + 61f280a commit 3e34f30Copy full SHA for 3e34f30
.github/workflows/stale-issues.yml
@@ -0,0 +1,25 @@
1
+name: "Close stale issues"
2
+on:
3
+ schedule:
4
+ - cron: "0 0 * * *"
5
+
6
+permissions: {}
7
+jobs:
8
+ stale:
9
+ permissions:
10
+ issues: write # to close stale issues (actions/stale)
11
+ pull-requests: write # to close stale PRs (actions/stale)
12
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/stale@v3
16
+ with:
17
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
18
+ stale-issue-message: 'This issue is marked stale. It will be closed in 30 days if it is not updated.'
19
+ stale-pr-message: 'This pull request is marked stale. It will be closed in 30 days if it is not updated.'
20
+ days-before-stale: 365
21
+ days-before-close: 30
22
+ stale-issue-label: "stale"
23
+ stale-pr-label: "stale"
24
+ operations-per-run: 10
25
+ remove-stale-when-updated: false
0 commit comments