Update branch reference in auto-pr workflow#25219
Merged
Merged
Conversation
Change the branch reference from 'rel-10.3' to 'dev' in the workflow.
EngincanV
approved these changes
Apr 8, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the auto PR GitHub Actions workflow to change which branch is checked out when generating automated merge PRs.
Changes:
- Change
actions/checkoutref fromrel-10.3todevin.github/workflows/auto-pr.yml.
Comments suppressed due to low confidence (1)
.github/workflows/auto-pr.yml:22
- The branch refs in this workflow look internally inconsistent: it checks out
devbut then immediately hard-resets the working tree torel-10.3, which effectively discards the checkout and makes it unclear what content the PR will be created from. If the intent is "merge dev into rel-10.3" (per workflow name/title/body), the usual approach is to check out the base branch (rel-10.3) and then reset to the source branch (dev) (or explicitly setbase: rel-10.3increate-pull-requestand ensure the git reset targetsdev). Please alignactions/checkout ref, thegit fetch/git resettargets, and (if needed) theon.push.branchestrigger so the PR is generated in the intended direction.
- uses: actions/checkout@v2
with:
ref: dev
- name: Reset promotion branch
run: |
git fetch origin rel-10.3:rel-10.3
git reset --hard rel-10.3
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.
Resolve merge conflicts in the PR.