ci: pin Trivy version to v0.69.3 to fix failing install#256
Conversation
The aquasecurity/trivy-action defaults to installing Trivy v0.65.0, but release artifacts for older Trivy versions were removed upstream, causing contrib/install.sh to exit with code 1 during setup. This has been blocking the Code CI job since late March on dependabot PRs. Pin the version to v0.69.3, whose release assets are still available. Refs: https://github.com/aquasecurity/trivy/discussions/10265 Refs: aquasecurity/setup-trivy#30
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe build workflow configuration now explicitly pins the Trivy security scanner to version v0.69.3 via the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
18e8483
into
metaschema-framework:develop
Summary
The Code CI job has been failing on dependabot PRs since late March because the Trivy install step exits with code 1 during setup. The aquasecurity/trivy-action defaults to installing Trivy
v0.65.0, but release artifacts for older Trivy versions were removed upstream, socontrib/install.shcan no longer fetch them.This pins
version: v0.69.3on the trivy-action invocation so install.sh targets a release whose assets are still published.Changes
.github/workflows/build.yml— addversion: 'v0.69.3'to the Trivy step, with a comment linking to the upstream discussion.References
Test Plan
Codejob passes on this PR (previously failing on dependabot PRs build(deps): bump org.fusesource.jansi:jansi from 2.4.2 to 2.4.3 #251, build(deps): bump org.apache.logging.log4j:log4j-bom from 2.25.3 to 2.25.4 #252, build(deps-dev): bump io.github.git-commit-id:git-commit-id-maven-plugin from 9.0.2 to 10.0.0 #255)Summary by CodeRabbit