summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2022-02-17 08:20:40 (GMT)
committerGitHub <noreply@github.com>2022-02-17 08:20:40 (GMT)
commit5bc4327e2c55c33342a6850c4741e2b63ff96aec (patch)
tree4ce9989992c6e5b4ebc47226741090a7933c53fb /.github
parent482a4b6c3f8ef60056e85647a1d84af2e6dfd3ef (diff)
downloadcpython-5bc4327e2c55c33342a6850c4741e2b63ff96aec.zip
cpython-5bc4327e2c55c33342a6850c4741e2b63ff96aec.tar.gz
cpython-5bc4327e2c55c33342a6850c4741e2b63ff96aec.tar.bz2
Close stale PRs without signed CLA (GH-30500)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/stale.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 1532af2..fc0c15d 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -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