Skip to content

Commit 2f08c4f

Browse files
authored
Add the Close Stale issue action
1 parent 7700928 commit 2f08c4f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Close stale issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "0 8 * * *"
5+
6+
jobs:
7+
default:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/[email protected]
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
only-pr-labels: 'needs-fix'
14+
exempt-draft-pr: true
15+
stale-issue-message: 'This issue/PR is stale because it has been opened 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
16+

0 commit comments

Comments
 (0)