Skip to content

ci(dependabot): ignore dirty submodules so security updates can commit - #1902

Merged
kdinev merged 1 commit into
masterfrom
fix/dependabot-submodule-ignore-dirty
Nov 18, 2026
Merged

kdinev merged 1 commit into
masterfrom
fix/dependabot-submodule-ignore-dirty

Conversation

@dkalinovInfra

Copy link
Copy Markdown
Contributor

Description

Dependabot's grouped security update has failed on every run since at least Nov 5 (latest: https://github.com/IgniteUI/igniteui-cli/actions/runs/44105831815), so no security PRs are being opened for hono, minimatch, undici or uuid.

The job crashes with unknown_error when git commit -m "Updating hono" exits 1 with "no changes added to commit". The git status in that error lists four submodules as "modified content": igniteui-angular, igniteui-blazor, igniteui-react and igniteui-webcomponents. Those are exactly the cloned submodules without ignore = dirty in .gitmodules.

This adds ignore = dirty to the five submodule entries that lacked it (the four above plus blazor/api-docs), so all 11 entries now have it.

Related Issue

None.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring / code cleanup
  • Build / CI configuration change

Affected Packages

  • igniteui-cli (packages/cli)
  • @igniteui/cli-core (packages/core)
  • @igniteui/angular-templates (packages/igx-templates)
  • @igniteui/angular-schematics (packages/ng-schematics)
  • @igniteui/mcp-server (packages/igniteui-mcp)

Checklist

  • I have tested my changes locally (npm run test)
  • I have built the project successfully (npm run build)
  • I have run the linter (npm run lint)
  • I have added/updated tests as needed
  • My changes do not introduce new warnings or errors

Build, lint and tests were not run: the change is .gitmodules only.

Additional Context

  • That the dirty submodules are what makes Dependabot attempt the empty commit is inferred from the run log, not confirmed in Dependabot's source. It can only be verified by the next Dependabot run after this merges.
  • The npm side is fine: replaying Dependabot's two commands (npm install minimatch@11.0.5 --workspace=packages/ng-schematics …, npm update hono …) with npm 12.2.0 updates the lockfile correctly.
  • undici will stay open even with a working run; Dependabot reports dependency_still_vulnerable for it, so it needs a manual bump or override.
  • The submodule clone of IgniteUI/api-docs (internal repo) fails with a 403 in Dependabot. That is logged but not fatal and is not addressed here.

🤖 Generated with Claude Code

Dependabot's grouped security update crashed on an empty git commit
because four submodules without ignore = dirty showed as modified.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 17, 2026 15:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The configuration change’s effect on Dependabot’s empty-commit failure remains unverified, requiring a subsequent run to confirm that security-update PR creation is restored.

No open issues 🎉

What changed in this PR

This PR makes submodule ignore settings consistent to address suspected interference with Dependabot’s security-update commits. The next Dependabot run is needed to confirm whether it resolves the failure.

Changes:

  • Adds ignore = dirty to the four framework-source submodules and Blazor API-docs submodule, aligning all 11 entries.
File Description
.gitmodules Ignores working-tree changes in the five remaining submodules while preserving detection of submodule commit changes.

Review effort: Balanced

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 95.657%. remained the same — fix/dependabot-submodule-ignore-dirty into master

@kdinev
kdinev merged commit 13d0e58 into master Nov 18, 2026
5 checks passed
@kdinev
kdinev deleted the fix/dependabot-submodule-ignore-dirty branch November 18, 2026 12:39
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.

4 participants