All upgrading should be done via the migration script or regenerating the templates.
curl -sSLf https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/<tag>/cookiecutter/migrate.py | python3 -IBut you might still need to adapt your code:
- The cookiecutter now asks whether a repository is private, defaults that answer from the selected license, and uses it to toggle private-repository workflow behavior, public publishing jobs, and the link to GitHub Discussions in the issue template chooser.
- All dependencies have been updated in the templates.
- The unused cross-arch QEMU-based testing infrastructure has been removed. The
.github/containers/nox-cross-arch/and.github/containers/test-installation/directories, as well as the "Cross-Arch Testing" section inCONTRIBUTING.md. - Private repositories now are generated with credentials uncommented and the publishing workflows disabled.
- The issue template chooser (
config.yml) no longer includes thecontact_linkssection for private repositories, since GitHub Discussions are typically disabled for them. - Normalized the GitHub Action hashes for
gh-action-setup-gitandgh-action-setup-python-with-depsto point to the actual commit object, which is what Dependabot expects.