Add repo-config auto-migration workflow#383
Conversation
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>
There was a problem hiding this comment.
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-configandmkdocstrings-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.
| - "frequenz-repo-config" | ||
| - "frequenz-repo-config[api]" | ||
| - "frequenz-repo-config[extra-lint-examples]" |
There was a problem hiding this comment.
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.
|
Already tested, force-merging. |
Summary
repo-config-migration.yamlwith the exactfrequenz-repo-config-pythonv0.16.0templatefrequenz-repo-configandmkdocstrings