Skip to content

Commit

Permalink
Merge pull request #25 from dpc-sdp/feature/stale-prs
Browse files Browse the repository at this point in the history
[R20-1997] stale prs workflow
  • Loading branch information
dylankelly authored Jul 5, 2024
2 parents 92c1a5d + d8453c0 commit 79d329c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Stale PRs

on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-pr-stale: 60
days-before-pr-close: 7
stale-pr-message: 'This PR has been automatically marked as stale, it will be closed if no further activity occurs.'
close-pr-message: 'This PR was automatically closed due to inactivity.'
stale-pr-label: 'Stale'
exempt-pr-labels: 'Permanent'

0 comments on commit 79d329c

Please sign in to comment.