Problem description
After the release automation is rolled out to existing API repositories via the onboarding campaign, the Template_API_Repository still lacks the release automation configuration. New API repositories created from the template will not inherit the full setup.
Possible evolution
Apply the release automation configuration to Template_API_Repository so that newly created API repositories inherit it automatically. This includes:
- Caller workflow (
.github/workflows/release-automation.yml)
- CHANGELOG directory structure (
CHANGELOG/README.md)
- Repository ruleset (
release-snapshot-protection)
release-plan.yaml template with placeholder values
Note: GitHub repository rulesets are not inherited when creating a repository from a template. It is therefore important that new API repositories are created through the admin-api-repository-creation.yml workflow in project-administration, which ensures the ruleset gets copied from the template repository.
Alternative solution
Keep onboarding new repositories manually via the campaign workflow, but this adds unnecessary operational overhead for each new API repository.
Additional context
This should be done after the broader rollout of the release automation to existing repositories is complete and the configuration is considered stable. The onboarding campaign and admin script in project-administration (PR #134) can be reused for applying the configuration to the template.
See repository-setup.md for the full configuration specification.
Problem description
After the release automation is rolled out to existing API repositories via the onboarding campaign, the
Template_API_Repositorystill lacks the release automation configuration. New API repositories created from the template will not inherit the full setup.Possible evolution
Apply the release automation configuration to
Template_API_Repositoryso that newly created API repositories inherit it automatically. This includes:.github/workflows/release-automation.yml)CHANGELOG/README.md)release-snapshot-protection)release-plan.yamltemplate with placeholder valuesNote: GitHub repository rulesets are not inherited when creating a repository from a template. It is therefore important that new API repositories are created through the
admin-api-repository-creation.ymlworkflow inproject-administration, which ensures the ruleset gets copied from the template repository.Alternative solution
Keep onboarding new repositories manually via the campaign workflow, but this adds unnecessary operational overhead for each new API repository.
Additional context
This should be done after the broader rollout of the release automation to existing repositories is complete and the configuration is considered stable. The onboarding campaign and admin script in
project-administration(PR #134) can be reused for applying the configuration to the template.See repository-setup.md for the full configuration specification.