-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changelog conflicts #254
Comments
Just for my clarity, are the conflicts you refer to here related to multiple new changes being merged into the main branch and each subsequent merge containing a conflict in the same section of the In those cases, requiring a pull of the main branch back into the PR branch to resolve the conflict prior to its own merge? E.g.:
In most cases, I feel like |
For extra context, this project uses the Keep a Changelog format for simplicity and to make it easy for on-boarding new contributors. If a new format/system were to be put in place, it would need to be documented. |
I guess it's more of an issue with outstanding PRs and new commits. I was worried that each one of the other PRs will need the same flow. Approve, merge to main branch, update other PR with new merge/rebase, go through reapproval process. |
So less about the dealing with the conflict (which git can handle of course) but removing the need for dealing with the conflict in the first place. There is definitely a balance of the benefit of a more obvious entry on CHANGELOG.md with some conflicts, or less conflicts with a custom changelog format/folder. |
Since the repo has automated changelog checks in the CI, are you open to using something that minimizes conflicts in CHANGELOG.md?
The simplest I've found is to have a
changelog/unreleased
folder with yml files like this:And every PR would just add a new file. I believe the CI action (action-changelog-reminder) supports this as well.
We'd then need a simple script to aggregate the CHANGELOG.md message for the release commit and delete the old yaml files.
Just thought I'd ask.
The text was updated successfully, but these errors were encountered: