forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (41 loc) · 1.74 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
35
36
37
38
39
40
41
42
name: 'Close stale pull requests'
on:
schedule:
# TODO: Reduce frequency once we work through the backlog of pull requests
- cron: '0 * * * *'
workflow_dispatch:
jobs:
stale:
if: ${{ github.repository == 'pytorch/pytorch' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/[email protected]
with:
stale-pr-message: >
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as `Stale`. <br>
Feel free to remove the `Stale` label if you feel this was a mistake. <br>
`Stale` pull requests will automatically be closed 30 days after being marked `Stale` <br>
exempt-pr-labels: "no-stale,open source,high priority"
days-before-pr-stale: 60
days-before-pr-close: 90
days-before-issue-stale: -1
days-before-issue-close: -1
ascending: true
stale-open-source:
if: ${{ github.repository == 'pytorch/pytorch' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/[email protected]
with:
stale-pr-message: >
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as `Stale`. <br>
Feel free to remove the `Stale` label if you feel this was a mistake. <br>
If you are unable to remove the `Stale` label please contact a maintainer in order to do so. <br>
`Stale` pull requests will automatically be closed 30 days after being marked `Stale` <br>
exempt-pr-labels: "no-stale,high priority"
only-labels: "open source"
days-before-pr-stale: 60
days-before-pr-close: 90
days-before-issue-stale: -1
days-before-issue-close: -1
ascending: true