You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new workflow that automatically runs the migration script when
Dependabot opens a PR for the repo-config group. It handles
multi-version jumps by running each intermediate migration in sequence,
posts the migration output as a PR comment and in the job summary, and
auto-approves/merges clean migrations.
PRs that need manual intervention fail the job until a human signals
resolution via the `tool:repo-config:migration:intervention-done` label
(or by removing the `tool:repo-config:migration:intervention-pending`
label).
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
This release migrates lightweight GitHub Actions workflow jobs to use the new cost-effective `ubuntu-slim` runner.
6
6
It also updates cookiecutter pyproject license metadata to SPDX expressions to avoid setuptools deprecation warnings.
7
7
The auto-dependabot workflow now uses a GitHub App installation token instead of `GITHUB_TOKEN` to fix merge queue and auto-merge failures.
8
+
Finally, it adds an automated repo-config migration workflow that runs migration scripts on Dependabot PRs.
8
9
9
10
## Upgrading
10
11
@@ -41,6 +42,12 @@ But you might still need to adapt your code:
41
42
42
43
- The CI workflow now uses a simpler matrix.
43
44
45
+
- Added `repo-config-migration.yaml` workflow that automatically runs the migration script, commits changes, posts results, and auto-approves/merges only when no migration commit is created.
46
+
47
+
The workflow handles multi-version jumps by running each intermediate migration in sequence. The migration script output is posted as a PR comment and in the job summary. PRs with migration commits stay open for manual approval and merge. PRs that need manual intervention fail the job until a human completes the steps and signals resolution by removing the `tool:repo-config:migration:intervention-pending` label or adding the `tool:repo-config:migration:intervention-done` label.
48
+
49
+
- The `auto-dependabot.yaml` workflow now skips repo-config group PRs, which are handled by the new migration workflow instead.
50
+
44
51
## Bug Fixes
45
52
46
53
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
0 commit comments