Skip to content

Add repo-config auto-migration workflow#383

Merged
llucax merged 1 commit intofrequenz-floss:v0.x.xfrom
llucax:repo-config-auto-migrate-v0.16.0
Mar 27, 2026
Merged

Add repo-config auto-migration workflow#383
llucax merged 1 commit intofrequenz-floss:v0.x.xfrom
llucax:repo-config-auto-migrate-v0.16.0

Conversation

@llucax
Copy link
Copy Markdown
Contributor

@llucax llucax commented Mar 23, 2026

Summary

  • sync repo-config-migration.yaml with the exact frequenz-repo-config-python v0.16.0 template
  • fix Dependabot grouping for frequenz-repo-config and mkdocstrings
  • prepare repo-config Dependabot PRs to use the migration workflow correctly

Sync the repo-config migration workflow from v0.16.0 and update
Dependabot grouping for repo-config and mkdocstrings.

This lets repo-config Dependabot PRs use the migration workflow
correctly by matching the expected template and avoiding wildcard issues
with optional dependencies.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax llucax requested a review from a team as a code owner March 23, 2026 13:29
@llucax llucax enabled auto-merge March 23, 2026 13:29
@github-actions github-actions Bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Mar 23, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an automated GitHub Actions workflow to perform repo-config migrations for Dependabot “repo-config group” PRs, and adjusts Dependabot grouping rules so these updates are routed through the migration flow.

Changes:

  • Introduce a pull_request_target-based migration workflow for Dependabot repo-config group PRs.
  • Refine Dependabot grouping/exclusion patterns for frequenz-repo-config and mkdocstrings-related updates.

Reviewed changes

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

File Description
.github/workflows/repo-config-migration.yaml Adds a migration workflow intended to run on Dependabot repo-config group PRs with elevated permissions.
.github/dependabot.yml Updates grouping/exclusion patterns for repo-config and mkdocstrings dependencies to align with the new migration flow.

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

Comment thread .github/dependabot.yml
Comment on lines +56 to +58
- "frequenz-repo-config"
- "frequenz-repo-config[api]"
- "frequenz-repo-config[extra-lint-examples]"
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

Same concern as above: the repo-config group patterns contain square brackets, which may be treated specially by Dependabot's pattern matching and prevent these dependencies from being grouped as intended. Using a wildcard like frequenz-repo-config* (or otherwise ensuring literal [/] matching) would avoid Dependabot splitting extras into separate PRs.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/repo-config-migration.yaml
Comment thread .github/dependabot.yml
@llucax
Copy link
Copy Markdown
Contributor Author

llucax commented Mar 27, 2026

Already tested, force-merging.

@llucax llucax disabled auto-merge March 27, 2026 10:10
@llucax llucax merged commit 3dfdb82 into frequenz-floss:v0.x.x Mar 27, 2026
11 checks passed
@llucax llucax deleted the repo-config-auto-migrate-v0.16.0 branch April 29, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants