ci: comment license diffs on PRs#286
Conversation
Signed-off-by: Will Killian <wkillian@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📜 Recent review details🧰 Additional context used📓 Path-based instructions (3).github/workflows/*.{yml,yaml}📄 CodeRabbit inference engine (.agents/skills/maintain-ci/SKILL.md)
Files:
.{github/workflows/*.{yml,yaml},gitlab-ci.yml}📄 CodeRabbit inference engine (.agents/skills/maintain-packaging/SKILL.md)
Files:
{.github/**,.gitlab-ci.yml,.pre-commit-config.yaml,justfile,scripts/**}⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (1)📚 Learning: 2026-05-03T04:23:07.497ZApplied to files:
🪛 zizmor (1.25.2).github/workflows/ci.yaml[warning] 137-137: permissions without explanatory comments (undocumented-permissions): needs an explanatory comment (undocumented-permissions) .github/workflows/ci_license_diff.yml[warning] 33-33: permissions without explanatory comments (undocumented-permissions): needs an explanatory comment (undocumented-permissions) [info] 91-91: code injection via template expansion (template-injection): may expand into attacker-controllable code (template-injection) 🔇 Additional comments (2)
WalkthroughThe ChangesLicense Diff PR Comment Feature
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Overview
Update dependency license diff CI reporting so PRs get one upserted comment instead of license diff output only appearing in the runner summary.
Details
<details>sections.Where should the reviewer start?
Start with
.github/workflows/ci_license_diff.yml, especially the newUpsert PR commentstep. Validation used targeted workflow YAML parsing anduv run pre-commit run --files .github/workflows/ci.yaml .github/workflows/ci_license_diff.yml.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Summary by CodeRabbit