Skip to content

Commit

Permalink
add staleness action
Browse files Browse the repository at this point in the history
  • Loading branch information
segoldma committed Jul 10, 2024
1 parent eac43ce commit 02e1965
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Close Stale Issues'
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # midnight on sundays

permissions:
contents: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
close-pr-message: 'This PR was closed because it has been stale for 14 days with no further activity.'

days-before-stale: 28
days-before-close: 14

0 comments on commit 02e1965

Please sign in to comment.