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/close-stale-prs.yaml
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -20,23 +20,21 @@ on:
20
20
workflow_dispatch:
21
21
schedule:
22
22
# This is a cron job that runs every day at midnight
23
-
- cron: '0 0 * * *'
24
-
permissions:
25
-
contents: read
26
-
issues: write
27
-
pull-requests: write
23
+
- cron: '0 18 * * *'# Run the workflow every day at 6PM UTC (10AM PST).
28
24
jobs:
29
25
stale-prs:
30
26
name: Check stale pull requests
31
27
runs-on: ubuntu-latest
28
+
permissions:
29
+
pull-requests: write
32
30
steps:
33
31
- uses: actions/stale@v9
34
32
with:
35
33
stale-pr-message: |
36
-
This pull request is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.
34
+
This pull request has been automatically marked as stale because it has been inactive for 90 days. Remove stale label or comment or this will be closed in 7 days.
37
35
close-pr-message: |
38
36
This pull request has been closed due to inactivity. Feel free to reopen if you are still working on it.
0 commit comments