Skip to content

Commit ec0f8e0

Browse files
authoredOct 15, 2021
Chore: Add stale issue/PR checker (#15151)
1 parent 2cfbd4b commit ec0f8e0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
 

‎.github/workflows/stale.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Mark stale issues and pull requests
7+
8+
on:
9+
schedule:
10+
- cron: '31 22 * * *'
11+
12+
jobs:
13+
stale:
14+
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
pull-requests: write
19+
20+
steps:
21+
- uses: actions/stale@v3
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
days-before-stale: 60
25+
days-before-close: 7
26+
stale-issue-message: 'Oops! It looks like we lost track of this issue. @eslint/eslint-tsc what do we want to do here? This issue will auto-close in 7 days without an update.'
27+
stale-pr-message: 'Oops! It looks like we lost track of this pull request. @eslint/eslint-tsc what do we want to do here? This pull request will auto-close in 7 days without an update.'
28+
exempt-all-assignees: true

0 commit comments

Comments
 (0)
Please sign in to comment.