Skip to content

Commit

Permalink
Create remove-stale-prs workflow (#1337)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-scott3141 authored Nov 14, 2023
1 parent 166e046 commit 2325745
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/remove-stale-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Close stale issues and PR'
on:
schedule:
- cron: '0 0 * * 1-5'

jobs:
remove-stale-prs:
name: Remove stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
debug-only: true
exempt-pr-labels: 'DO_NOT_CLOSE'
stale-pr-message: 'This PR is stale because it has been open 7 days with no activity. Remove the `Stale` label or add a comment - otherwise this will be closed in 7 days.'
close-pr-message: 'This PR was closed because it has been stale for 7 days with no activity.'
days-before-issue-stale: -1
days-before-issue-close: -1
days-before-pr-stale: 7
days-before-pr-close: 7

0 comments on commit 2325745

Please sign in to comment.