Skip to content

Commit

Permalink
Enable PR auto cleaning
Browse files Browse the repository at this point in the history
If a PR is open for more than 60 days without any activity, the bot will
send a gentle reminder.

If nothing moves during the next 7 days, the bot will close the PR.

We might consider removing the `start-date` parameter (discussion is
needed): with that parameter, and the set value, the current stale PR
will be ignored by the bot, only newer content will start seeing its
action.
  • Loading branch information
cjeanner authored and openshift-merge-bot[bot] committed Apr 26, 2024
1 parent bc76a5f commit 7114ed2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/stale-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Manage stale PRs
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntun-latest
steps:
- uses: actions/stale@v9
with:
start-date: '2024-04-25T00:00:00Z'
stale-pr-message: |
This PR is stale because it has been for over 60 days with no activity.
Remove stale label or comment or this will be closed in 7 days.

0 comments on commit 7114ed2

Please sign in to comment.