You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/stale.yml
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,23 @@ jobs:
14
14
runs-on: ubuntu-latest
15
15
16
16
steps:
17
-
- uses: actions/stale@v4
17
+
- name: "Check PRs with 'CLA signed' label"
18
+
uses: actions/stale@v4
18
19
with:
19
20
repo-token: ${{ secrets.GITHUB_TOKEN }}
21
+
only-pr-labels: 'CLA signed'
20
22
stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity.'
21
23
stale-pr-label: 'stale'
22
24
days-before-stale: 30
23
25
days-before-close: -1
26
+
27
+
- name: "Check PRs with 'CLA not signed' label"
28
+
uses: actions/stale@v4
29
+
with:
30
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
31
+
only-pr-labels: 'CLA not signed'
32
+
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'
33
+
stale-pr-label: 'stale'
34
+
close-pr-message: 'Closing this stale PR because the CLA is still not signed.'
0 commit comments