Skip to content

chore(ci): add github dependabot skill - #209

Merged
coryrylan merged 2 commits into
mainfrom
topic-dep-updates
Aug 5, 2026
Merged

chore(ci): add github dependabot skill #209
coryrylan merged 2 commits into
mainfrom
topic-dep-updates

Conversation

@coryrylan

@coryrylan coryrylan commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Bug Fixes

    • Fixed theme token builds so all platform outputs complete reliably before processing continues.
    • Updated bundled dependencies, including archive handling and HTML sanitization improvements.
  • Updates

    • Refreshed Angular, SVG optimization, theme styling, editor build, and related development tooling.
    • Updated bundled archive component versions and associated attribution details.
  • Documentation

    • Added guidance for reviewing and resolving dependency security alerts.
    • Refreshed third-party license notices for bundled components.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: a0c131b0-618b-4ece-bdef-63964f5f0762

📥 Commits

Reviewing files that changed from the base of the PR and between 59d3f83 and efc3d1d.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (10)
  • .agents/skills/github-dependabot/SKILL.md
  • NOTICE.md
  • projects/cli/NOTICE.md
  • projects/cli/package.json
  • projects/core/package.json
  • projects/internals/tools/package.json
  • projects/monaco/package.json
  • projects/starters/angular/package.json
  • projects/themes/build/style-dictionary.config.js
  • projects/themes/package.json

📝 Walkthrough

Walkthrough

This change adds a Dependabot remediation skill, updates dependency versions and a catalog reference, makes theme token builds await platform generation, and synchronizes adm-zip NOTICE entries.

Changes

Dependency maintenance updates

Layer / File(s) Summary
Dependabot remediation skill
.agents/skills/github-dependabot/SKILL.md
Adds guidance for Dependabot alert retrieval, update planning, application, verification, and reporting.
Dependency and build updates
projects/cli/package.json, projects/internals/tools/package.json, projects/core/package.json, projects/monaco/package.json, projects/starters/angular/package.json, projects/themes/package.json, projects/themes/build/style-dictionary.config.js
Updates dependency versions and changes esbuild to a catalog-managed reference. Theme token builds now await platform generation.
adm-zip NOTICE synchronization
NOTICE.md, projects/cli/NOTICE.md
Updates adm-zip entries from v0.5.17 to v0.6.0 and changes the related attribution text.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: copilot, semantic-release-bot

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the added Dependabot skill, which is a real change, but it does not identify the broader dependency updates.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch topic-dep-updates

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new github-dependabot agent skill to standardize how Dependabot alerts are investigated/remediated in the Elements monorepo, and it also updates a set of dependency versions (plus associated NOTICE entries) across several workspaces.

Changes:

  • Add .agents/skills/github-dependabot/SKILL.md documenting a Dependabot-alert remediation workflow using gh api.
  • Bump/normalize multiple dependencies across workspaces (e.g., style-dictionary, @angular/build, svgo, adm-zip, sanitize-html, and esbuild moved to the pnpm catalog).
  • Update NOTICE files to reflect the adm-zip version/license metadata change.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
projects/themes/package.json Bumps style-dictionary major version used by the themes token build pipeline.
projects/starters/angular/package.json Updates Angular build tooling dependency version for the Angular starter.
projects/monaco/package.json Switches esbuild from a pinned version to the workspace catalog: version.
projects/internals/tools/package.json Updates adm-zip and sanitize-html versions in internal tooling dependencies.
projects/core/package.json Bumps svgo patch version used in core tooling/build steps.
projects/cli/package.json Bumps adm-zip used by the CLI package.
projects/cli/NOTICE.md Updates bundled third-party notice entries for the new adm-zip version/metadata.
NOTICE.md Updates the root bundled third-party notice entries for the new adm-zip version/metadata.
.agents/skills/github-dependabot/SKILL.md Adds the new Dependabot remediation skill documentation/workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 99 to 103
"devDependencies": {
"@angular/build": "22.0.3",
"@angular/build": "22.1.0",
"@angular/cli": "22.0.3",
"@angular/compiler-cli": "22.0.2",
"@nvidia-elements/lint": "workspace:*",
Comment thread .agents/skills/github-dependabot/SKILL.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.agents/skills/github-dependabot/SKILL.md:
- Around line 23-25: Update the gh api commands in the dependabot skill to use
the dynamic repository path repos/{owner}/{repo} instead of the hard-coded
NVIDIA/elements path, including both command occurrences. Preserve the existing
alert query options and pagination behavior.

In `@projects/themes/package.json`:
- Line 61: Update the buildTokens flow that calls style-dictionary’s
buildAllPlatforms so both build operations are awaited before the function
returns. The issue is in the asynchronous Style Dictionary v5 build path: make
buildTokens wait for the generated CSS assets to finish writing before any later
step, including style-dictionary.minify.js, can read them. Keep the existing
token build sequence intact and only add the required awaiting around the two
buildAllPlatforms calls.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: b73014f9-25ed-4377-9050-dda3af6ad304

📥 Commits

Reviewing files that changed from the base of the PR and between 59d3f83 and 0d551d3.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (9)
  • .agents/skills/github-dependabot/SKILL.md
  • NOTICE.md
  • projects/cli/NOTICE.md
  • projects/cli/package.json
  • projects/core/package.json
  • projects/internals/tools/package.json
  • projects/monaco/package.json
  • projects/starters/angular/package.json
  • projects/themes/package.json

Comment thread .agents/skills/github-dependabot/SKILL.md
Comment thread projects/themes/package.json
Signed-off-by: Cory Rylan <crylan@nvidia.com>
- Updated adm-zip from v0.5.17 to v0.6.0, changing the copyright email.
- Updated svgo from v4.0.1 to v4.0.2.
- Updated @angular/build from v22.0.3 to v22.1.0.
- Updated style-dictionary from v4.3.0 to v5.4.4.
- Added esbuild v0.28.1 to pnpm-lock.yaml.

Signed-off-by: Cory Rylan <crylan@nvidia.com>
Copilot AI review requested due to automatic review settings August 5, 2026 15:34
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated no new comments.

@coryrylan
coryrylan merged commit 4601239 into main Aug 5, 2026
16 checks passed
@coryrylan
coryrylan deleted the topic-dep-updates branch August 5, 2026 15:51
@coryrylan

Copy link
Copy Markdown
Collaborator Author

🎉 This issue has been resolved in version 2.2.3 🎉

Changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants