Skip to content

Feature/dependabot config - #9393

Open
Sandeep Kumar Das (Sandeep-622) wants to merge 2 commits into
mainfrom
feature/dependabot-config
Open

Feature/dependabot config#9393
Sandeep Kumar Das (Sandeep-622) wants to merge 2 commits into
mainfrom
feature/dependabot-config

Conversation

@Sandeep-622

Copy link
Copy Markdown

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 all package managers in the repo:
- npm: /, /schemas, and the /source/nodejs lerna + npm-workspaces monorepo
- 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.
Repo-root and /schemas package-lock.json are empty stubs with no
package.json, so Dependabot's npm updater would error there. The only
real npm root is the /source/nodejs workspaces monorepo, whose single
top-level manifest + lockfile covers all workspace packages.
@Sandeep-622

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@Sandeep-622

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

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.

3 participants