Skip to content

Fix #1458: add cargo deny check as mandatory CI gate (WIG-4)#889

Open
AlexMikhalev wants to merge 1 commit into
mainfrom
task/1458-cargo-deny-ci-gate
Open

Fix #1458: add cargo deny check as mandatory CI gate (WIG-4)#889
AlexMikhalev wants to merge 1 commit into
mainfrom
task/1458-cargo-deny-ci-gate

Conversation

@AlexMikhalev
Copy link
Copy Markdown
Contributor

Summary

  • Add cargo-deny job to ci-pr.yml that blocks PRs on license/advisory violations
  • Add deny.toml to the rust changes filter so deny.toml edits trigger the check
  • Wire cargo-deny into pr-summary needs and failure condition
  • Add cargo deny check step to ci-native.yml lint-and-format job

deny.toml already exists at workspace root with allowlist validated by compliance watchdog.

Acceptance Criteria Verified

  • Current workspace passes: advisories ok, bans ok, licenses ok, sources ok
  • A PR introducing a GPL-3.0-only (unlicensed) dep would fail cargo deny check and block merge via pr-summary failure condition
  • deny.toml edits now trigger the cargo-deny job via the changes filter

Test plan

  • cargo deny check passes on current main (verified locally)
  • PR with banned licence dep fails CI at cargo-deny job
  • deny.toml change triggers cargo-deny job

Refs terraphim/terraphim-ai#1458 (Gitea)

🤖 Generated with Claude Code

- Add cargo-deny job to ci-pr.yml that blocks PRs on license/advisory violations
- Add deny.toml to the rust changes filter so deny.toml edits trigger the check
- Wire cargo-deny into pr-summary needs and failure condition
- Add cargo deny check step to ci-native.yml lint-and-format job
- deny.toml already exists with allowlist validated by compliance watchdog

Acceptance criteria met:
- GPL-3.0-only dep would fail cargo deny check and block merge
- Current workspace passes: advisories ok, bans ok, licenses ok, sources ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant