Repository navigation
ci: use the shared scan-image and gate actions - #553
Conversation
Replace the local scan-image action and the inline result checks of the gate job with the shared actions of elixir-cloud-aai/.github, pinned to a commit on main. Keep the job IDs and names and the allowed skips (push and publish only if PUBLISH is "false"). Closes #548 Closes #549 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThe workflows now use organization-owned, full-SHA-pinned scanning and gating actions instead of local implementations, while preserving scanning inputs, security boundaries, gate job identity, and the conditional handling of intentionally skipped publish jobs. Documentation, comments, and Dependabot configuration were updated to reflect the shared actions and their maintenance model. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #553 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 55 55
Lines 6667 6667
=========================================
Hits 6667 6667
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. The security scan did not finish, and if the pinned shared scan action misses findings or the gate action treats failed checks as acceptable, vulnerable images could pass CI or be published; reverting restores the local scanner and gate, but does not undo images already released.
Summary
.github/actions/scan-image;ci.yml,release.ymlandscan.ymluse the sharedelixir-cloud-aai/.github/actions/scan-image(identical steps; Trivy version now itstrivy-versioninput, defaultv0.75.0as before).passed("CI passed") uses the sharedelixir-cloud-aai/.github/actions/gate, withallow-skipped: push publishonly ifPUBLISHis exactly"false"(fails closed, as before). Job IDs and names unchanged, so no ruleset change.main(10e8303…, comments# scan-image/# gate); the.githubrepository has no releases. Dependabot: the/.github/actions/scan-imagedirectory entry is removed; the/entry covers the pins.docs/contributing.md) and comments (.trivyignore.yaml, workflows) updated.Closes #548
Closes #549
Verification
pre-commit runon the changed files: passed.allow-skipped) checked against the action: whitespace-separated IDs. Low findings fixed: comment wrapping, stale reference in.trivyignore.yaml.Declined review findings
tree/mainin the docs: the pin moves with Dependabot bumps;mainis the documented source.Open questions
None.
🤖 Generated with Claude Code
Summary by Sourcery
Adopt the organisation’s shared, pinned image-scanning and CI-gate actions across the project workflows.
Enhancements:
CI:
Documentation:
Chores: