Skip to content

Commit 6c27603

Browse files
authored
Create stale.yml
1 parent 043b85d commit 6c27603

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/stale.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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: '30 21 * * *'
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@v9
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
days-before-stale: 60
25+
days-before-close: 7
26+
stale-issue-message: >
27+
This issue has been automatically marked as stale because it has not had
28+
recent activity. It will be closed if no further activity occurs. Thank you
29+
for your contributions.
30+
exempt-issue-labels: pinned,security
31+
exempt-pr-labels: pinned,security
32+
stale-pr-message: >
33+
This PR has been automatically marked as stale because it has not had
34+
recent activity. It will be closed if no further activity occurs. Thank you
35+
for your contributions.
36+
remove-stale-when-updated: false

0 commit comments

Comments
 (0)