Skip to content
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

fix handling of backport changelog #2241

Merged
merged 3 commits into from Apr 16, 2024
Merged

Conversation

nickfyson
Copy link
Contributor

@nickfyson nickfyson commented Apr 15, 2024

This change fixes a bug when processing the changelog during a backport.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@nickfyson nickfyson marked this pull request as ready for review April 16, 2024 13:52
@nickfyson nickfyson requested a review from a team as a code owner April 16, 2024 13:52
henrymercer
henrymercer previously approved these changes Apr 16, 2024
@@ -187,14 +187,18 @@ def process_changelog_for_backports(source_branch_major_version, target_branch_m

# until we find the first section, just duplicate all lines
while True:
found_first_section = False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could make not found_first_section the while condition to save a few lines of code, but not blocking.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yes, of course!

auto-merge was automatically disabled April 16, 2024 13:57

Pull Request is not mergeable

auto-merge was automatically disabled April 16, 2024 14:10

Pull Request is not mergeable

@henrymercer
Copy link
Contributor

The pull request is now mergeable :)

@henrymercer henrymercer merged commit 9b87e0a into main Apr 16, 2024
316 checks passed
@henrymercer henrymercer deleted the nickfyson/speculative-script-fix branch April 16, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants