Repository navigation
ci: add weekly Dependabot, OSV-Scanner, and CodeQL scanning - #489
Merged
Merged
Conversation
Extend Dependabot to weekly Wednesday minor/patch groups for cargo and github-actions. Add Google OSV-Scanner reusable workflows (scheduled + PR) and CodeQL for rust, actions, and python with build-mode none. Co-authored-by: Yohei Onishi <yohei1126@users.noreply.github.com>
yohei1126
marked this pull request as ready for review
October 22, 2026 00:24
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
GitHub CodeQL default setup is already enabled; an advanced workflow
conflicts ("analyses from advanced configurations cannot be processed
when the default setup is enabled"). Dependabot and OSV-Scanner remain.
Co-authored-by: Yohei Onishi <yohei1126@users.noreply.github.com>
Bring in vulnerable crate bumps from #490 so cargo-audit/deny can pass. Co-authored-by: Yohei Onishi <yohei1126@users.noreply.github.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
Adds weekly security scanning via Dependabot (Wednesday minor/patch groups) and Google OSV-Scanner (SARIF → code scanning). Does not merge; leaves
Cargo.lockand existing CI jobs untouched.CodeQL is not configured as an advanced workflow here — the repo already uses GitHub CodeQL default setup, which conflicts with an advanced CodeQL workflow ("CodeQL analyses from advanced configurations cannot be processed when the default setup is enabled"). We rely on default setup instead.
Changes
.github/dependabot.ymlextended, not replaced):cargoat workspace root/(covers all member manifests via the single workspaceCargo.lock)github-actionsat/interval: weekly,day: wednesdayopen-pull-requests-limit: 10 (cargo), 5 (actions).github/workflows/osv-scanner.yml):google/osv-scanner-actionosv-scanner-reusable.yml(schedule /workflow_dispatch) andosv-scanner-reusable-pr.yml(PRs), pinned tov2.7.0(b1d267a…)schedule0 0 * * 3(Wed 00:00 UTC = 08:00 SGT),pull_request,workflow_dispatchcontents: read,actions: read,security-events: write.github/workflows/codeql.ymlin this PRNotes
cargo-auditjob is left in place: it additionally flags unmaintained / yanked crates, which OSV does not.cargo denyadvisories / bans remain in CI; broadercargo denypolicy coverage could be expanded later if desired.Cargo.lock.actionlintreported 0 errors on the OSV-Scanner workflow; Dependabot / workflow YAML also parsed cleanly with PyYAML.Checklist
cargo-audit)Cargo.lockunchanged