[Python-checkins] Close stale PRs without signed CLA (GH-30500)

ambv webhook-mailer at python.org
Thu Feb 17 03:20:54 EST 2022


https://github.com/python/cpython/commit/5bc4327e2c55c33342a6850c4741e2b63ff96aec
commit: 5bc4327e2c55c33342a6850c4741e2b63ff96aec
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at innova.no>
committer: ambv <lukasz at langa.pl>
date: 2022-02-17T09:20:40+01:00
summary:

Close stale PRs without signed CLA (GH-30500)

Co-authored-by: Hugo van Kemenade <hugovk at users.noreply.github.com>

files:
M .github/workflows/stale.yml

diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 1532af26f59ff..fc0c15dc0a600 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -14,10 +14,23 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-    - uses: actions/stale at v4
+    - name: "Check PRs with 'CLA signed' label"
+      uses: actions/stale at 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 at 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



More information about the Python-checkins mailing list