Skip to content

feat: add CI, dependabot config, and auto-merge workflow#1730

Open
diberry wants to merge 1 commit intoAzure-Samples:mainfrom
diberry:squad/ci-dependabot-setup
Open

feat: add CI, dependabot config, and auto-merge workflow#1730
diberry wants to merge 1 commit intoAzure-Samples:mainfrom
diberry:squad/ci-dependabot-setup

Conversation

@diberry
Copy link
Copy Markdown
Contributor

@diberry diberry commented Mar 26, 2026

Summary

Add CI, dependabot configuration, and auto-merge workflow to reduce manual dependency maintenance.

Changes

.github/dependabot.yml (updated)

  • Removed 18 entries pointing to directories that no longer exist
  • Added 8 new entries for current sub-packages (quickstarts/ai-agents, quickstarts/ai-search, quickstarts/azure-sql, quickstarts/key-vault, quickstarts/openai, quickstarts/storage, sdk/chained-credentials, ts-boilerplate-esm)
  • Added github-actions ecosystem coverage
  • Switched from daily to weekly (Monday) schedule
  • Added dependency groups to reduce PR noise:
    • dev-dependencies — dev deps grouped for minor/patch
    • azure-sdk — @azure/* and azure-* packages
    • types — @types/* packages
    • eslint-tooling — eslint, typescript-eslint, prettier

.github/workflows/ci.yml (new)

  • Matrix install-check across 14 key sub-packages
  • Runs npm ci (or npm install if no lockfile)
  • Runs build and lint scripts where present (non-blocking)

.github/workflows/dependabot-auto-merge.yml (new)

  • Auto-merges patch and minor dependabot PRs (squash + delete-branch)
  • Blocks major version bumps for human review
  • Guarded by github.actor == 'dependabot[bot]'
  • Uses dependabot/fetch-metadata@v2 for semver classification

Open Dependabot PR Audit (35 PRs)

10 patch/minor (safe to auto-merge once CI passes):

25 major (need human review):

Potential merge conflicts (multiple PRs modify same package.json):

Blockers

  • Push access to Azure-Samples org required to merge this PR
  • Branch protection with required status checks needed for auto-merge to function

- Replace stale dependabot.yml (removed 18 deleted directories, added 8 new)
- Switch from daily to weekly (Monday) schedule to reduce PR noise
- Add dependency groups: dev-dependencies, azure-sdk, types, eslint-tooling
- Add github-actions ecosystem coverage
- Create CI workflow with matrix install-check across 14 key sub-packages
- Create dependabot-auto-merge workflow (patch+minor only, major blocked)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant