Skip to content

Commit

Permalink
add stale action to replace prprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Sep 11, 2023
1 parent b9986c9 commit 390e8ff
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: 'Close inactive and impasse PRs'
on:
schedule:
- cron: '30 1 * * *'

permissions:
pull-requests: write

jobs:
inactive-prs:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
days-before-pr-stale: 90
days-before-issue-stale: -1
days-before-issue-close: -1
close-pr-message: Thank you for your contribution! This PR has been inactive for 3 months, closing for now. Feel free to reopen when you return to it. This is an automated process.
close-pr-label: Inactive
only-labels: "Waiting on contributor"

impasse-prs:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
days-before-pr-stale: 30
days-before-issue-stale: -1
days-before-issue-close: -1
close-pr-message: Thank you for your contribution! This PR has reached an impasse with no new activity for 1 month, closing for now. Feel free to reopen if you feel an agreement can be reached. This is an automated process.
close-pr-label: Inactive
only-labels: "Reached an impasse"

0 comments on commit 390e8ff

Please sign in to comment.