-
Notifications
You must be signed in to change notification settings - Fork 335
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: Changelog generator action frfr no cap #6659
Conversation
Previously it was causing issues for the changelog generator, since it "couldn't find a common ancestor" when the version was updated and commited first. Moving the version update to happen after resolves this, and is PR'd to the same branch so that these changes happen at once. I fear this might still lead to the same issue of common ancestor, but we're merging into main, and then branching to the release branch, so hopefully that doesn't happen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THIS WILL BE THE 10X EFFICIENCY GAINS WE DESERVE!!!
The backport to
To backport this PR manually, you can either: Via the sg toolUse the sg backport -r vscode-v1.60.x -p 6659 Via your terminalTo backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-vscode-v1.60.x vscode-v1.60.x
# Navigate to the new working tree
cd .worktrees/backport-vscode-v1.60.x
# Create a new branch
git switch --create backport-6659-to-vscode-v1.60.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 bdcfb73214d717ef9c02a1ef594fc23362dd5014
# Push it to GitHub
git push --set-upstream origin backport-6659-to-vscode-v1.60.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-vscode-v1.60.x If you encouter conflict, first resolve the conflict and stage all files, then run the commands below: git cherry-pick --continue
# Push it to GitHub
git push --set-upstream origin backport-6659-to-vscode-v1.60.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-vscode-v1.60.x
Once the pull request has been created, please ensure the following:
|
- **Moved the version update to happen _after_ changelog** - **misc: remove extra debugging logs** Finally!!! :party: I've run the [action](https://github.com/sourcegraph/cody/actions/runs/12797290344/job/35678849540) and it's successfully generated the [changelog](#6658) and version update in a single PR <!-- Required. See https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles. -->
) - **Moved the version update to happen _after_ changelog** - **misc: remove extra debugging logs** Finally!!! :party: I've run the [action](https://github.com/sourcegraph/cody/actions/runs/12797290344/job/35678849540) and it's successfully generated the [changelog](#6658) and version update in a single PR <!-- Required. See https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles. --> ## Test plan <!-- Required. See https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles. --> Co-authored-by: Anish Lakhwara <anish+github@lakhwara.com>
Finally!!! :party:
Test plan
I've run the action and it's successfully generated the changelog and version update in a single PR