Commit 4b1aa9a
authored
Add Dependabot auto-merge workflow and migration script (#466)
## Summary
- Adds auto-merge workflow for Dependabot PRs using
`frequenz-floss/dependabot-auto-approve` action
- Includes migration script to create workflow file and disable
CODEOWNERS review requirement via GitHub API
- Splits changes into two commits: reset migration script to template,
then add new migration steps
## Changes
**First commit:** Reset `cookiecutter/migrate.py` to template, removing
old migration steps
**Second commit:**
- Add `create_dependabot_auto_merge_workflow()` function
- Add `disable_codeowners_review_requirement()` function to update
GitHub rulesets
- Include workflow template in cookiecutter
- Regenerate golden test filesFile tree
9 files changed
+354
-167
lines changed- .github/workflows
- cookiecutter
- {{cookiecutter.github_repo_name}}/.github/workflows
- tests_golden/integration/test_cookiecutter_generation
- actor/frequenz-actor-test/.github/workflows
- api/frequenz-api-test/.github/workflows
- app/frequenz-app-test/.github/workflows
- lib/frequenz-test-python/.github/workflows
- model/frequenz-model-test/.github/workflows
9 files changed
+354
-167
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments