Skip to content

ci(github): configure dependabot automation#20

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

ci(github): configure dependabot automation#20
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.Lambda.AspNetCore.HostingExtensions.slnx.

Validation

  • Ran uv sync --locked successfully.
  • Ran uv run mkdocs build --clean successfully.
  • Ran dotnet restore LayeredCraft.Lambda.AspNetCore.HostingExtensions.slnx successfully.
  • Ran dotnet build LayeredCraft.Lambda.AspNetCore.HostingExtensions.slnx --no-restore successfully.

Notes for Reviewers

No conditional Microsoft.Extensions package ranges were needed for this repo.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c118800f7f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use a token that can trigger push workflows

When this enables auto-merge with secrets.GITHUB_TOKEN, the eventual merge is attributed to the workflow token, and GitHub documents that events triggered by GITHUB_TOKEN do not create new workflow runs except dispatch and selected PR events. In this repo the main Build and Pages deploy jobs are both push-triggered on main, so auto-merged Dependabot updates can land without running those post-merge workflows; use a GitHub App/PAT token for the merge step if those main-branch workflows must run after dependency updates.

Useful? React with 👍 / 👎.

@ncipollina
ncipollina merged commit 94faaea into main Jul 22, 2026
3 checks passed
@ncipollina
ncipollina deleted the ci/github-dependabot-automation branch July 22, 2026 18:00
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