mirror of
https://github.com/NomaDamas/k-skill.git
synced 2026-06-24 02:04:11 +00:00
Keep npm release automation from crashing before publish
Recent main-branch release workflow runs were failing before the Version Packages PR could be created because changesets/action tried to read per-package CHANGELOG.md files that do not exist in this repo. The repo deliberately keeps `.changeset/config.json` on `changelog: false`, so disable `createGithubReleases` to match that model and stop the action from expecting generated changelog files. Constraint: Repository package releases intentionally run with `.changeset/config.json` set to `changelog: false` Constraint: Existing GitHub Actions runs on 2026-03-25, 2026-03-26, and 2026-03-28 failed with ENOENT on missing package CHANGELOG.md files Rejected: Add per-package CHANGELOG.md generation | unnecessary extra release surface for a repo that intentionally skips changelog files Confidence: high Scope-risk: narrow Reversibility: clean Directive: If you later enable Changesets changelog generation, revisit `createGithubReleases` together with package CHANGELOG.md expectations Tested: npm run ci; npx changeset status; gh run view failed release logs for runs 23547709848, 23602324893, 23687336625 Not-tested: Live post-fix GitHub Actions release run on main
This commit is contained in:
parent
3c4be51975
commit
249b56e2b1
2 changed files with 2 additions and 0 deletions
1
.github/workflows/release-npm.yml
vendored
1
.github/workflows/release-npm.yml
vendored
|
|
@ -43,6 +43,7 @@ jobs:
|
|||
publish: npm run release:npm
|
||||
commit: "chore: version packages"
|
||||
title: "chore: version packages"
|
||||
createGithubReleases: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
3. Changesets가 Version Packages PR 생성
|
||||
4. Version Packages PR merge
|
||||
5. GitHub Actions가 변경된 npm 패키지만 `NPM_TOKEN` 으로 publish
|
||||
6. npm 패키지용 GitHub Release 는 만들지 않는다 (`.changeset/config.json` 이 `changelog: false` 이므로 `createGithubReleases: false` 유지)
|
||||
|
||||
## Python 패키지
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue