Skip to content

Commit

Permalink
Add GitHub action to stale and close inactive PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpaladin authored Oct 31, 2024
1 parent a0c7f76 commit 12c64dd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/mark-prs-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 2 * * *'

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically'
stale-pr-label: 'stale'
days-before-stale: 7
days-before-close: 7
exempt-pr-labels: 'do-not-close'

0 comments on commit 12c64dd

Please sign in to comment.