Skip to content

fix(ci): bump reusable-trivy.yml pin to include GHCR-auth fix - #60

Merged
zircote merged 1 commit into
mainfrom
fix/bump-reusable-trivy-pin
Jul 13, 2026
Merged

fix(ci): bump reusable-trivy.yml pin to include GHCR-auth fix#60
zircote merged 1 commit into
mainfrom
fix/bump-reusable-trivy-pin

Conversation

@zircote

@zircote zircote commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

v0.1.1's gate-image / image job failed (job 86817144520) because the pinned reusable-trivy.yml commit never authenticated to GHCR before scanning an image by digest. Fixed upstream at attested-delivery/.github#33 (merged at ee1f93b).

Change

Bumps all three references to reusable-trivy.yml in this repo (release.yml's IaC-only scan job, release.yml's gate-image job, quality-gates.yml's PR-time trivy job) to the fixed commit.

Verification

  • actionlint passes clean on both changed files.
  • just check passes clean.

Next tag after this merges gets a fully green release run (static-artifact path + container image, including the vulnerability-scan attestation that v0.1.1 is currently missing — see go-htmx#10's closing summary).

v0.1.1's gate-image job failed on the pinned commit (ca91728) because
the image job never authenticated to GHCR before scanning by digest,
so every one of Trivy's image-source backends failed. Fixed at
attested-delivery/.github#33 (ee1f93b). Bump all three references in
this repo (release.yml's IaC-scan and gate-image jobs, quality-gates
.yml's PR-time trivy job) so the fix actually takes effect.
Copilot AI review requested due to automatic review settings July 13, 2026 13:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the pinned commit SHA for the shared reusable-trivy.yml GitHub Actions workflow to a newer upstream commit that includes a fix for missing GHCR authentication when scanning container images by digest. This keeps the repo’s release and PR-time security gates aligned with the corrected central workflow.

Changes:

  • Bump reusable-trivy.yml pin in release.yml for both the IaC-only scan and the image (digest) scan gate.
  • Bump reusable-trivy.yml pin in quality-gates.yml for the PR-time IaC/license scan.
  • Expand inline comments in release.yml to document the reason for the pin bump (GHCR auth fix).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yml Updates the pinned reusable-trivy.yml commit for release-time IaC and image scanning jobs to include the GHCR auth fix.
.github/workflows/quality-gates.yml Updates the pinned reusable-trivy.yml commit for PR/merge-time Trivy scanning to the same fixed upstream commit.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zircote
zircote merged commit 51d5d8a into main Jul 13, 2026
13 checks passed
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