2020-12-15 15:58:43 -04:00
|
|
|
name: Mark stale pull requests
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * *"
|
|
|
|
|
2021-04-23 19:18:50 -03:00
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
|
2020-12-15 15:58:43 -04:00
|
|
|
jobs:
|
|
|
|
stale:
|
2022-02-07 15:40:40 -04:00
|
|
|
if: github.repository_owner == 'python'
|
2020-12-15 15:58:43 -04:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
2023-04-14 06:01:10 -03:00
|
|
|
timeout-minutes: 10
|
2020-12-15 15:58:43 -04:00
|
|
|
|
|
|
|
steps:
|
2022-04-11 13:34:17 -03:00
|
|
|
- name: "Check PRs"
|
2024-01-02 12:19:01 -04:00
|
|
|
uses: actions/stale@v9
|
2020-12-15 15:58:43 -04:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2020-12-15 22:36:33 -04:00
|
|
|
stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity.'
|
2020-12-15 15:58:43 -04:00
|
|
|
stale-pr-label: 'stale'
|
2022-05-06 04:18:22 -03:00
|
|
|
days-before-issue-stale: -1
|
|
|
|
days-before-pr-stale: 30
|
2020-12-15 15:58:43 -04:00
|
|
|
days-before-close: -1
|
2022-02-18 15:28:12 -04:00
|
|
|
ascending: true
|
|
|
|
operations-per-run: 120
|