Commit 412e151
authored
chore: quality review fixes + maintenance auto-close (#6)
* fix: bump-version log output and deploy script hardcoded project name
- scripts/bump-version.js: the success log always printed 'new → new'
because it read pkg.version after mutating it, then .replace()'d
next with itself. Save the previous version before mutation so the
log correctly shows 'old → new'.
- package.json deploy script hardcoded '--project-name my-site'. If a
user renamed the package, local 'npm run deploy' would silently
target the wrong Cloudflare Pages project. Use \$npm_package_name so
the deploy target follows the package name automatically.
- Add Python MCP Server to the Related Starters list; bold current.
* ci: close maintenance issue when CI is green
The existing open-issue-on-failure job opened a `maintenance`
labeled issue whenever the weekly CI run broke, but there was no
counterpart job to close that issue once the underlying problem
got fixed. As a result the 12 starters accumulated stale open
issues that made the repos look broken to outside visitors even
after every fix had landed.
The new close-issue-on-success job runs whenever the re-triggered
CI is green, lists all open issues with the `maintenance` label,
leaves a comment linking back to the resolving run, and closes
them. Future regressions will reopen a fresh issue, so no signal
is lost.1 parent 8dc9333 commit 412e151
1 file changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
0 commit comments