Skip to content

Commit

Permalink
Add stale PR workflow (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluc-codes authored Feb 19, 2025
1 parent a67430d commit 25f43f0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Close stale PRs"
on:
schedule:
- cron: "0 0 * * *" # end of every day

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
ascending: true
operations-per-run: 100
days-before-stale: 15
days-before-close: 7
stale-pr-message: "This PR is more than 2 weeks old. Please remove the
stale label, update, or comment if this PR is still valid and
relevant, otherwise it will be closed in 7 days."

0 comments on commit 25f43f0

Please sign in to comment.