Skip to content

Commit

Permalink
Manage ‘Stale’ PRs (#2723)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/414709148257752/1207048535807038/f

Description:

Marks inactive PRs as 'stale' after 7 days
Closes inactive PRs after 14 days
  • Loading branch information
afterxleep authored Apr 12, 2024
1 parent d8673d0 commit 7170656
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/stale-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Close Stale Pull Requests

on:
schedule:
- cron: '0 0 * * *'

jobs:
close_stale_prs:
runs-on: ubuntu-latest
steps:
- name: Close stale pull requests
uses: actions/stale@v9
with:
stale-pr-message: 'This PR has been inactive for more than 7 days and will be automatically closed 7 days from now.'
days-before-stale: 7
close-pr-message: 'This PR has been closed after 14 days of inactivity. Feel free to reopen it if you plan to continue working on it or have further discussions.'
days-before-close: 7
stale-pr-label: stale
exempt-draft-pr: true

0 comments on commit 7170656

Please sign in to comment.