Repository navigation
chore(ci): expand CODEOWNERS to cover Cargo + dependency-policy files - #42
Merged
Merged
Conversation
Original CODEOWNERS (PR #37) covered only .github/workflows/ and the CODEOWNERS file itself. Audit flagged that Cargo manifests + the license-policy gate are security-relevant and should also require team review. Adds ownership rules for: - .github/dependabot.yml — dependency-update automation config - .github/actions/ — composite actions (setup-jfrog etc.) - /Cargo.toml + /Cargo.lock — top-level crate graph - /deny.toml — cargo-deny license / advisory policy gate - /about.toml — attribution-page source - /pyo3/Cargo.toml + /pyo3/pyproject.toml — PyO3 sub-crate manifests (pip dep changes flow through pyproject.toml per go/pinning-python-deps) Also rewrites the file with explanatory comments + a note on the last-match-wins semantics so future editors understand the rule ordering. The expanded ownership is enforced by the protect-main ruleset's `require_code_owner_review` rule (already on). Co-authored-by: Isaac Signed-off-by: Gopal Lal <gopal.lal@databricks.com>
vikrantpuppala
approved these changes
May 22, 2026
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
Closes audit finding #2 (recap from a recent security audit batch): the original CODEOWNERS landed in PR #37 only covered
.github/workflows/and the CODEOWNERS file itself. Audit asked for the Cargo dependency graph + license-policy gate to also require team review, since adding a new crate or relaxing license rules is security-relevant.What this adds
New ownership rows for
@databricks/eng-oss-sql-driver:.github/dependabot.yml.github/actions/setup-jfrog)/Cargo.toml,/Cargo.lock/deny.tomlcargo-denylicense / RustSec advisory gate/about.toml/pyo3/Cargo.toml,/pyo3/pyproject.tomlpyproject.tomlpergo/pinning-python-deps)Pre-existing coverage preserved:
.github/workflows/+.github/CODEOWNERSitself.Enforcement
These rules are enforced by the
protect-mainruleset'srequire_code_owner_reviewrule (already on). PRs touching any of the paths above will auto-request review from@databricks/eng-oss-sql-driverand cannot merge without it.File rewrite
Also rewrites the file with comments explaining:
No behavioural change to the existing two paths — purely additive.
Test plan
@databricks/eng-oss-sql-driversince this PR itself edits a CODEOWNERS-protected path).Cargo.tomlin a follow-up PR) and confirm the review-request fires.Related
This pull request and its description were written by Isaac.