-
Notifications
You must be signed in to change notification settings - Fork 21.4k
34 lines (33 loc) · 1.3 KB
/
stale_pull_requests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: 'Close stale pull requests'
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
jobs:
stale:
if: ${{ github.repository_owner == 'pytorch' }}
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
stale-pr-message: >
Looks like this PR hasn't been updated in a while! Going to go ahead and mark this as `stale`.
Feel free to update / remove the `stale` label if you feel this is a mistake
`stale` pull requests will automatically be closed 30 days after being marked `stale`
exempt-pr-labels: "no-stale,open source,high priority"
days-before-stale: 60
days-before-close: 90
stale-open-source:
if: ${{ github.repository_owner == 'pytorch' }}
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
stale-pr-message: >
Looks like this PR hasn't been updated in a while! Going to go ahead and mark this as `stale`.
Feel free to update / remove the `stale` label if you feel this is a mistake
`stale` pull requests will automatically be closed 30 days after being marked `stale`
exempt-pr-labels: "no-stale,high priority"
only-labels: "open source"
days-before-stale: 150
days-before-close: 180