Repository navigation
Description
Observed
.github/workflows/release.yml:87, in step Commit version bump, commits the version bump and runs a bare git push to main. Since #1109, main rejects direct pushes (GH013), so a dispatched release run fails at that step. #1131 moved the /release skill's step 6 to a PR, but it didn't touch this workflow. #1153's QA flagged it as a sibling of the upstream-assessment push fixed in PR #1155.
Fix direction (options as filed; superseded by the owner decision below)
Reuse #1153's pattern: a GitHub App token (actions/create-github-app-token) pushes a release/v<version> branch and opens a PR, and the tag and GitHub Release happen after that PR merges. The alternative is to drop the in-workflow bump, since /release already lands it through a PR (#1131), and have the workflow only tag and publish. Owner decision.
-
Tier: mechanical
Owner decision (2026-09-25): deleterelease.yml. It has never run (gh run list --workflow release.ymlis empty), and every release from v2.15.1 to v2.17.0 shipped through/release, which never calls it. Rejected: an App-token PR route (the fix(ci): upstream-assessment pushes its report straight to main, which the #1109 ruleset rejects #1153 pattern), because it adds machinery to a path nobody uses; and a tag-only workflow, because it's a second release path that would drift from/release. -
AC-1:
.github/workflows/release.ymlno longer exists — Evidence:test ! -e .github/workflows/release.yml && echo absentprintsabsent -
AC-2: no workflow in the repo pushes to
main— Evidence:grep -rn "git push$" .github/workflows/prints nothing -
AC-3: nothing in the repo depends on the deleted file. The only remaining mentions are the hook-test command strings (
gh workflow run release.ymlin__tests__/pre-tool-hook.integration.test.tsand__tests__/fixtures/hook-corpus.jsonl) and a recorded opencode transcript fixture, which don't need the file to exist — Evidence:grep -rln "release\.yml" --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=dist .lists only those three files plusCHANGELOG.md(the removal entry)
Non-Goals
- Changing npm publishing,
prepare:marketplace, or the/releaseskill (bug(release): /release Step 6 pushes to main, which the #1109 ruleset now rejects (GH013) — land the release commit through a PR #1131 already moved its step 6 to a PR). - A ruleset bypass for
github-actions, which would reopen direct pushes tomain(gate(owner): apply themainruleset — target~DEFAULT_BRANCH, require thetestcheck, strict up-to-date #1109). - Dispatching a real release to test the change: QA verifies statically, and the owner exercises it on the next real release.
Activity
chore(#1162): delete the never-run release.yml workflow (#1167)