Skip to content

Add Dependabot version updates config for AdaptiveCards ecosystems - #9396

Merged
Sandeep Kumar Das (Sandeep-622) merged 1 commit into
mainfrom
user/sandeepdas/dependabot-config
Aug 27, 2026
Merged

Add Dependabot version updates config for AdaptiveCards ecosystems#9396
Sandeep Kumar Das (Sandeep-622) merged 1 commit into
mainfrom
user/sandeepdas/dependabot-config

Conversation

@Sandeep-622

Copy link
Copy Markdown
Contributor

Add Dependabot version updates configuration

What

Adds .github/dependabot.yml to enable Dependabot version-update PRs across the package ecosystems actually used in AdaptiveCards.

Ecosystems covered

Ecosystem Directory / Directories
npm /source/nodejs (lerna + npm-workspaces monorepo — its single top-level package.json + lockfile covers every workspace package)
nuget /source/dotnet, /source/uwp, /source/uwp/winui3, /source/ios/tools/IOSFeed
gradle /source/android (its settings.gradle includes the adaptivecards, mobile, mobilechatapp, and uitestapp subprojects)
swift / (Package.swift)
github-actions / (workflows)

Settings

  • Schedule: weekly for every ecosystem
  • Open PR limit: 1 per ecosystem (keeps noise low)
  • Ecosystem-specific labels applied

Scoping rationale

Directories were verified against the actual repo layout rather than using broad globs:

  • npm is scoped to /source/nodejs only. The repo-root and /schemas package-lock.json files are empty stubs ({"lockfileVersion": 1}) with no package.json — Dependabot's npm updater would error on them, so they are intentionally excluded.
  • nuget targets the concrete solution roots (each has its own .sln with real PackageReference/packages.config dependencies) instead of broad ** globs, which the Dependabot guidance warns can be slow / time out for NuGet.
  • source/shared/cpp C++ projects have no NuGet dependencies, so they are not listed.
  • The source/dotnet/.../package.json is a Unity (UPM) manifest, not npm — Dependabot cannot process it, so it is excluded.

Notes

  • CocoaPods (iOS Podfile) is intentionally omitted — it is not a Dependabot-supported ecosystem.
  • The swift entry is currently inert (Package.swift declares no external SPM dependencies) but is kept for forward-compatibility; it is a harmless no-op until an SPM dependency is added.
  • This is a configuration file, not a pipeline; it enables version-update PRs. Dependabot alerts / security updates are managed separately in repo settings.

Related

Part of the Component Governance onboarding effort for github:microsoft/AdaptiveCards.

Adds .github/dependabot.yml covering the package managers in the repo:
- npm: /source/nodejs (lerna + npm-workspaces monorepo; single top-level
  manifest + lockfile covers all workspace packages)
- nuget: dotnet, uwp, winui3 solution roots and the iOS feed tool
- gradle: /source/android
- swift: Package.swift at repo root
- github-actions: workflows

Weekly schedule, PR limit 1 per ecosystem. CocoaPods (iOS Podfile) is
omitted as it is not a Dependabot-supported ecosystem.
Comment thread .github/dependabot.yml
Comment thread .github/dependabot.yml
@SatwikKrSharma

Copy link
Copy Markdown
Collaborator

Remove swift and /source/ios/tools/IOSFeed, /source/android as we no longer support them

@SatwikKrSharma SatwikKrSharma left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Added one comment

@Sandeep-622
Sandeep Kumar Das (Sandeep-622) merged commit 8b62e1d into main Aug 27, 2026
11 checks passed
@Sandeep-622
Sandeep Kumar Das (Sandeep-622) deleted the user/sandeepdas/dependabot-config branch August 27, 2026 07:03
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.

5 participants