Fix release workflow branch handling and add GitHub App token - #4929
Merged
Merged
Conversation
Contributor
Author
|
Will skip functional/integ test checks |
singholt
force-pushed
the
singholt-patch-3
branch
6 times, most recently
from
April 14, 2026 16:45
fb9e07e to
f5b55bd
Compare
- Use 'git fetch origin' instead of 'git fetch origin dev:dev' to avoid errors when a local branch already exists or is checked out - Create staging branch from current HEAD instead of origin/dev, allowing the workflow to use whichever branch is selected in the GitHub UI - Use origin/master and origin/dev remote refs in changelog script instead of local branch names - Remove stderr suppression in changelog script for easier debugging - Add GitHub App token generation for PR creation
singholt
force-pushed
the
singholt-patch-3
branch
from
April 14, 2026 16:46
f5b55bd to
42ffd2f
Compare
harishxr
approved these changes
Apr 14, 2026
mye956
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes branch-related failures in the create-release-pr workflow and switches PR creation to use a GitHub App token.
Implementation details
Workflow (create-release-pr.yml):
Changelog script (generate-release-changelog.sh):
Testing
Ran GH action using the base branch of this PR, and generated the following dummy release PR: #4930
Description for the changelog
Housekeeping - Update release GH action
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.