Skip to content

Commit

Permalink
Add actions for stale issues/PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferbrecht committed Nov 14, 2024
1 parent 789f371 commit 4abf9c8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Close stale pull requests"
on:
schedule:
- cron: "0 3 * * *"

permissions:
contents: read

jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 14 days.'
close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.'
stale-issue-message: 'This issue was marked stale due to lack of activity. It will be closed in 14 days.'
close-issue-message: 'Closed as inacive. Feel free to reopen if this issue is still relevant.'
days-before-close: 14

0 comments on commit 4abf9c8

Please sign in to comment.