Skip to content

Commit cb1bf1c

Browse files
committed
Create stale.yml
1 parent 59ca00c commit cb1bf1c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/stale.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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: '27 16 0 1 2 3 4 5 6 7 8 9 A B C D E F
11+
00000010 B8 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 ¸ '0 1 2 3 4 5 6 7 8 9 A B C D E F
12+
00000010 B8 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 ¸ @
13+
14+
jobs:
15+
stale:
16+
17+
runs-on: ubuntu-latest
18+
permissions:
19+
issues: write
20+
pull-requests: write
21+
22+
steps:
23+
- uses: actions/stale@v5
24+
with:
25+
repo-token: ${{ secrets.GITHUB_TOKEN }}
26+
stale-issue-message: 'Stale issue message'
27+
stale-pr-message: 'Stale pull request message'
28+
stale-issue-label: 'no-issue-activity'
29+
stale-pr-label: 'no-pr-activity'

0 commit comments

Comments
 (0)