Repository navigation
Align CI with wasm-oidc-plugin and add Trivy plus Dependabot - #5
Merged
Merged
Conversation
Drop rust-docker-tools, use setup-rust-toolchain, add Dependabot (cargo/github-actions/docker) and Trivy scans, and pin current Docker actions. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
🟡 Changes recommended
The new security-scan workflow includes an unsupported timezone field under on.schedule, which can break or invalidate the scheduled trigger.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR modernizes the repository’s CI/security automation by switching Rust setup to a pinned toolchain file, updating Docker build/push steps to current Docker actions with Buildx + cache, and adding Dependabot plus Trivy scanning to better align with the wasm-oidc-plugin CI approach.
Changes:
- Add
rust-toolchain.tomlto pin the Rust toolchain/components/wasm target, and useactions-rust-lang/setup-rust-toolchain@v1across workflows. - Update CI/release workflows to use Docker Buildx with
docker/build-push-action@v6and registry/inline caching. - Add Dependabot configuration and a new Trivy security scan workflow.
File summaries
| File | Description |
|---|---|
rust-toolchain.toml |
Pins Rust channel/components/targets for consistent CI builds. |
.github/workflows/test.yml |
Replaces custom container tooling with setup-rust-toolchain; updates Docker build/push steps and tag handling. |
.github/workflows/security-scan.yml |
Adds scheduled + PR Trivy filesystem and image scans. |
.github/workflows/release.yml |
Updates release builds to use setup-rust-toolchain and modern Docker build/push actions with caching. |
.github/workflows/build.yml |
Simplifies push-to-main workflow to build + publish artifacts/images with updated Docker actions. |
.github/dependabot.yml |
Adds Dependabot updates for cargo, GitHub Actions, and Docker. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…not a source compile. Co-authored-by: Cursor <cursoragent@cursor.com>
…on, and skip fork image pushes. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
Made with Cursor