Skip to content

ci(github): configure dependabot automation#75

Merged
ncipollina merged 1 commit into
mainfrom
ci/github-dependabot-automation
Jul 22, 2026
Merged

ci(github): configure dependabot automation#75
ncipollina merged 1 commit into
mainfrom
ci/github-dependabot-automation

Conversation

@ncipollina

Copy link
Copy Markdown
Contributor

Summary

Updates this repo's Dependabot and dependency automation to match the newer LayeredCraft pattern. This adds grouped NuGet updates, GitHub Actions and uv ecosystem checks, plus automatic approval/auto-merge for safe Dependabot patch and minor updates.

Changes

  • Expanded .github/dependabot.yml with cooldowns, conventional commit metadata, infrastructure multi-ecosystem grouping, separate NuGet minor/patch vs. major groups, GitHub Actions updates, and uv updates.
  • Added .github/workflows/dependabot-auto-merge.yml to auto-approve and enable squash auto-merge for Dependabot semver patch/minor PRs only.
  • Migrated docs build dependencies from requirements.txt to pyproject.toml/uv.lock so Dependabot can manage the docs dependency graph through the uv ecosystem.
  • Updated .github/workflows/docs.yml to install dependencies with uv sync --locked and build with uv run mkdocs build --clean.
  • Added the new workflow and docs dependency files to LayeredCraft.Cdk.Constructs.slnx.

Validation

  • Ran uv sync --locked successfully.
  • Ran uv run mkdocs build --clean successfully.
  • Ran dotnet restore LayeredCraft.Cdk.Constructs.slnx successfully.
  • Ran dotnet build LayeredCraft.Cdk.Constructs.slnx --no-restore successfully.

Copilot AI review requested due to automatic review settings July 22, 2026 17:06
@github-actions github-actions Bot added the type: ci CI/CD changes label Jul 22, 2026
@ncipollina
ncipollina merged commit 9e8f8e5 into main Jul 22, 2026
9 checks passed
@ncipollina
ncipollina deleted the ci/github-dependabot-automation branch July 22, 2026 17:10

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.

Pull request overview

This PR updates repository dependency automation and documentation build tooling to match newer LayeredCraft standards, including Dependabot multi-ecosystem updates and a migration of docs dependencies to uv-managed lockfiles.

Changes:

  • Expanded Dependabot configuration with grouped NuGet updates, GitHub Actions + uv ecosystems, cooldowns, and conventional commit metadata.
  • Added a Dependabot-only workflow to auto-approve and enable squash auto-merge for semver patch/minor updates.
  • Migrated docs build dependencies from requirements.txt to pyproject.toml + uv.lock, and updated the docs workflow to build via uv.

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
uv.lock Adds a locked dependency graph for docs dependencies managed by uv.
requirements.txt Removes the previous pip requirements file for docs builds.
pyproject.toml Introduces a minimal Python project definition for docs build dependencies (for uv/Dependabot).
LayeredCraft.Cdk.Constructs.slnx Updates solution items to track the new docs dependency files and new workflow.
.github/workflows/docs.yml Switches docs CI to setup-uv + uv sync --locked and builds docs via uv run.
.github/workflows/dependabot-auto-merge.yml Adds auto-approve/auto-merge automation for Dependabot patch/minor PRs.
.github/dependabot.yml Configures multi-ecosystem Dependabot updates and NuGet update grouping.

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

Comment on lines 39 to 43
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version-file: pyproject.toml

Comment on lines 6 to +10
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'pyproject.toml'
- 'uv.lock'
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'LayeredCraft/cdk-constructs'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: ci CI/CD changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants