mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Close stale PRs without signed CLA (GH-30500)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
482a4b6c3f
commit
5bc4327e2c
1 changed files with 14 additions and 1 deletions
15
.github/workflows/stale.yml
vendored
15
.github/workflows/stale.yml
vendored
|
|
@ -14,10 +14,23 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v4
|
||||
- name: "Check PRs with 'CLA signed' label"
|
||||
uses: actions/stale@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
only-pr-labels: 'CLA signed'
|
||||
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
|
||||
|
||||
- name: "Check PRs with 'CLA not signed' label"
|
||||
uses: actions/stale@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
only-pr-labels: 'CLA not signed'
|
||||
stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity. If the CLA is not signed within 14 days, it will be closed. See also https://devguide.python.org/pullrequest/#licensing'
|
||||
stale-pr-label: 'stale'
|
||||
close-pr-message: 'Closing this stale PR because the CLA is still not signed.'
|
||||
days-before-stale: 30
|
||||
days-before-close: 14
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue