ci(github): configure dependabot automation#75
Merged
Conversation
Contributor
There was a problem hiding this comment.
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.txttopyproject.toml+uv.lock, and updated the docs workflow to build viauv.
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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
.github/dependabot.ymlwith cooldowns, conventional commit metadata, infrastructure multi-ecosystem grouping, separate NuGet minor/patch vs. major groups, GitHub Actions updates, and uv updates..github/workflows/dependabot-auto-merge.ymlto auto-approve and enable squash auto-merge for Dependabot semver patch/minor PRs only.requirements.txttopyproject.toml/uv.lockso Dependabot can manage the docs dependency graph through theuvecosystem..github/workflows/docs.ymlto install dependencies withuv sync --lockedand build withuv run mkdocs build --clean.LayeredCraft.Cdk.Constructs.slnx.Validation
uv sync --lockedsuccessfully.uv run mkdocs build --cleansuccessfully.dotnet restore LayeredCraft.Cdk.Constructs.slnxsuccessfully.dotnet build LayeredCraft.Cdk.Constructs.slnx --no-restoresuccessfully.