forked from sunlabuiuc/PyHealth
-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (23 loc) · 873 Bytes
/
Copy pathautoclose_pr.yml
File metadata and controls
23 lines (23 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# From your repo root
name: Close Stale PRs
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
close-stale-prs:
runs-on: ubuntu-latest
steps:
- name: Close stale PRs
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-pr-stale: 90
days-before-pr-close: 7
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.'
close-pr-message: 'This PR has been automatically closed due to inactivity. Please re-open it if you think it is still relevant.'
stale-pr-label: 'stale'
exempt-pr-labels: 'keep-open,in-progress'
operations-per-run: 100
days-before-issue-stale: -1
days-before-issue-close: -1