Skip to content

Close stale pull requests #25185

Close stale pull requests

Close stale pull requests #25185

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