Skip to content

fix(ci): tell gh which repository to upload the signatures to - #8

Merged
MotherSphere merged 1 commit into
mainfrom
fix/sign-upload-repo
Aug 1, 2026
Merged

fix(ci): tell gh which repository to upload the signatures to#8
MotherSphere merged 1 commit into
mainfrom
fix/sign-upload-repo

Conversation

@MotherSphere

Copy link
Copy Markdown
Member

The v0.2.0 release shipped WITHOUT its .sig files, and Colony's self-update
verifies signatures fail-closed - so that release cannot be installed or
updated to through the store.

The signing itself worked. The upload did not:

gh release upload "$TAG" dist/*.sig --clobber
failed to run git: fatal: not a git repository

The sign job deliberately has no actions/checkout - it downloads the built
assets rather than the source - so there is no git repository for gh to
infer the target from. The download step three lines above already passes
-R "\${{ github.repository }}"; the upload step was missed.

The failure mode is the worst kind: the job that exists to guarantee a release
is never published unsigned reported red only AFTER the release was published,
so it recorded the problem instead of preventing it.

All four Colony satellite repos carry the identical defect.

The v0.2.0 release shipped WITHOUT its .sig files, and Colony's self-update
verifies signatures fail-closed - so that release cannot be installed or
updated to through the store.

The signing itself worked. The upload did not:

    gh release upload "$TAG" dist/*.sig --clobber
    failed to run git: fatal: not a git repository

The sign job deliberately has no `actions/checkout` - it downloads the built
assets rather than the source - so there is no git repository for `gh` to
infer the target from. The download step three lines above already passes
`-R "\${{ github.repository }}"`; the upload step was missed.

The failure mode is the worst kind: the job that exists to guarantee a release
is never published unsigned reported red only AFTER the release was published,
so it recorded the problem instead of preventing it.

All four Colony satellite repos carry the identical defect.
@MotherSphere
MotherSphere merged commit eec8781 into main Aug 1, 2026
3 checks passed
@MotherSphere
MotherSphere deleted the fix/sign-upload-repo branch August 1, 2026 13:11
@github-actions github-actions Bot mentioned this pull request Aug 1, 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