Skip to content

Commit 84d6a35

Browse files
authored
feat: Make version bump PRs also edit CHANGELOG.md. (#295)
1 parent fe422c4 commit 84d6a35

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Enforcement of `CHANGELOG.md` entries for PRs and Conventional Commits for PR titles [#288](https://github.com/developmentseed/eoapi-k8s/pull/288)
1313
- Added code formatting and linting with pre-commit hooks [#283](https://github.com/developmentseed/eoapi-k8s/pull/283)
14+
- Adjusted Renovate Configuration to fit conventional commits [#295](https://github.com/developmentseed/eoapi-k8s/pull/295)
1415

1516
## [0.7.8] - 2025-09-10
1617

renovate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@
118118
"reviewers": [],
119119
"prBodyTemplate": "This PR updates {{depName}} in the eoAPI Kubernetes charts.\n\n**Update details:**\n- **From:** {{currentVersion}}\n- **To:** {{newVersion}}\n- **Type:** {{updateType}} update\n\n**Release notes:**\n{{{changelog}}}\n\n**Testing checklist:**\n- [ ] Verify Helm chart templates render correctly\n- [ ] Test deployment in development environment\n- [ ] Check for any breaking changes in release notes\n- [ ] Validate container image exists and is functional\n\n---\n**Auto-generated by Renovate Bot** 🤖",
120120
"prFooter": "---\n\n**Need help?** Check the [Renovate documentation](https://docs.renovatebot.com/) or [eoAPI documentation](https://eoapi.dev/).",
121+
"postUpgradeTasks": {
122+
"commands": [
123+
"sed -i '/## \\[Unreleased\\]/,/^### / { /^### Changed/a\\\n- Updated {{depName}} from {{currentVersion}} to {{newVersion}}\n' ; }' CHANGELOG.md || true",
124+
"git add CHANGELOG.md"
125+
],
126+
"fileFilters": ["CHANGELOG.md"]
127+
},
121128
"lockFileMaintenance": {
122129
"enabled": true,
123130
"schedule": ["after 10pm on sunday", "before 5am on monday"]

0 commit comments

Comments
 (0)