Commit ae0b5f8
chore(ci): improve pr-closer workflow
- Add explicit `permissions: pull-requests: write` so the job won't 403 on read-only default tokens.
- Replace hardcoded `jdx/mise` with `${{ github.repository }}` (via REPO env).
- Filter stale PRs server-side via `--search "updated:<CUTOFF -author:jdx -label:keep-open sort:updated-asc"` and bump `--limit` to 500. Only stale candidates are fetched, sorted oldest-first, and any beyond the limit roll into the next daily run.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 580635a commit ae0b5f8
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
0 commit comments