Skip to content

fix(release): bind recovery provenance to tags - #32

Merged
jmagar merged 1 commit into
mainfrom
fix/npm-launcher-silent-exit-20260804
Aug 4, 2026
Merged

fix(release): bind recovery provenance to tags#32
jmagar merged 1 commit into
mainfrom
fix/npm-launcher-silent-exit-20260804

Conversation

@jmagar

@jmagar jmagar commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • reject release recovery runs unless GitHub is executing at the requested immutable tag ref
  • preserve manual recovery with gh workflow run Release --ref <tag> -f tag_name=<tag>
  • lock the provenance rule into the repository CI policy and changelog

Root cause

@dinglebear/rapprise@0.2.3 failed clean installs because its release recovery workflow was dispatched from main. GitHub signed the release asset with source ref/digest from that branch event, while the installer correctly required provenance from refs/tags/v0.2.3.

Verification

  • bash scripts/check-ci-policy.sh
  • npm test --prefix packages/apprise-rmcp (14/14)
  • npm run check --prefix packages/apprise-rmcp
  • branch-ref guard rejects refs/heads/main with rc 42
  • tag-ref guard accepts refs/tags/v0.2.4
  • git diff --check

@jmagar
jmagar merged commit 3c6f477 into main Aug 4, 2026
14 checks passed
@jmagar
jmagar deleted the fix/npm-launcher-silent-exit-20260804 branch August 4, 2026 16:26
@jmagar jmagar mentioned this pull request Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant