Skip to content

Commit e834c2f

Browse files
committed
adding stale action
Closes idaholab#20475
1 parent 0f3d1a1 commit e834c2f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/stale.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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: '36 5 * * *'
11+
12+
jobs:
13+
stale:
14+
15+
runs-on: ubuntu-latest
16+
permissions:
17+
pull-requests: write
18+
19+
steps:
20+
- uses: actions/stale@v3
21+
with:
22+
repo-token: ${{ secrets.GITHUB_TOKEN }}
23+
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
24+
stale-pr-label: 'no-pr-activity'
25+
days-before-pr-stale: 30
26+
days-before-pr-close: 3

0 commit comments

Comments
 (0)