mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
481994078f
It should only need write-level permissions to pull requests.
23 lines
444 B
YAML
23 lines
444 B
YAML
name: Mark stale pull requests
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/stale@v3
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity.'
|
|
stale-pr-label: 'stale'
|
|
days-before-stale: 30
|
|
days-before-close: -1
|