Skip to content

fix(release): pass --repo to gh release download in verify-signing - #56

Merged
jmservera merged 1 commit into
mainfrom
fix/verify-signing-repo-flag
Jul 30, 2026
Merged

fix(release): pass --repo to gh release download in verify-signing#56
jmservera merged 1 commit into
mainfrom
fix/verify-signing-repo-flag

Conversation

@jmservera

Copy link
Copy Markdown
Owner

The first GA tag v0.4.0 exercised the new verify-signing gate, which failed — but only because of a bug in the gate itself, not the release.

What happened

  • All 8 image jobs, compose-release, and publish-release succeeded. The GA is fully published, images are attested, and the bundle is cosign-signed.
  • verify-signing failed at gh release download with fatal: not a git repository. The job has no checkout, so gh couldn't infer the repo.

Fix

Add --repo "${GITHUB_REPOSITORY}" to gh release download, matching what the image attestation step already does. One line.

Independent confirmation the GA is properly signed

  • gh attestation verify oci://ghcr.io/jmservera/uberos/frontend:0.4.0 --repo jmservera/UbeROS → exit 0 (verified).
  • Bundle mechanism proven on v0.4.0-beta.2 (cosign verify-blob --new-bundle-formatVerified OK); same pipeline produced v0.4.0.

Validation

  • actionlint release.yml → clean.

Refs #15

The verify-signing job has no checkout, so gh could not infer the repo and failed with 'not a git repository'. Pin --repo like the image attestation step already does.

The v0.4.0 release itself published and signed correctly; only this self-check job failed.

Refs #15

🔏 - Generated by Copilot
Copilot AI review requested due to automatic review settings July 30, 2026 13:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Ready to approve

The change is a minimal, correct fix that aligns with existing usage in the same workflow and addresses the stated failure mode.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Fixes the verify-signing release gate in the GitHub Actions release workflow by making gh release download explicitly target the current repository even when the job does not perform a checkout.

Changes:

  • Add --repo "${GITHUB_REPOSITORY}" to gh release download in the verify-signing job to avoid “fatal: not a git repository” when no checkout is present.
File summaries
File Description
.github/workflows/release.yml Ensures verify-signing can download release assets without relying on a local git checkout by passing --repo.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@jmservera
jmservera merged commit 17f0bb0 into main Jul 30, 2026
15 checks passed
@jmservera
jmservera deleted the fix/verify-signing-repo-flag branch July 30, 2026 13:59
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.

2 participants