Skip to content

Update workflow to merge dev with rel-10.4#25328

Merged
voloagent merged 1 commit intorel-10.4from
skoc10-patch-3
Apr 28, 2026
Merged

Update workflow to merge dev with rel-10.4#25328
voloagent merged 1 commit intorel-10.4from
skoc10-patch-3

Conversation

@skoc10
Copy link
Copy Markdown
Contributor

@skoc10 skoc10 commented Apr 28, 2026

No description provided.

@voloagent voloagent merged commit 8673c43 into rel-10.4 Apr 28, 2026
3 checks passed
@voloagent voloagent deleted the skoc10-patch-3 branch April 28, 2026 08:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the .github/workflows/auto-pr.yml automation to create promotion PRs for merging dev with rel-10.4.

Changes:

  • Renamed the workflow/job and updated branch naming to target rel-10.4.
  • Updated checkout/reset steps to reference dev and rel-10.4.
  • Updated PR title/body and gh commands to use the new auto-merge branch path.

Comment on lines 16 to +22
- uses: actions/checkout@v2
with:
ref: rel-10.4
ref: dev
- name: Reset promotion branch
run: |
git fetch origin rel-10.3:rel-10.3
git reset --hard rel-10.3
git fetch origin rel-10.4:rel-10.4
git reset --hard rel-10.4
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

The workflow is named to merge dev into rel-10.4, but the steps currently check out dev and then git reset --hard rel-10.4, which effectively discards the dev tip and does not perform any merge. As a result, the created PR will not contain the intended changes (and may even produce an empty or reversed-diff PR). Update the logic to create a branch from rel-10.4 and merge origin/dev into it (and/or set the create-pull-request base to rel-10.4), ensuring checkout uses fetch-depth: 0 so the merge has the necessary history.

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +5
name: Merge branch dev with rel-10.4
on:
push:
branches:
- rel-10.3
- rel-10.4
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

The PR title/workflow name indicate merging dev with/into rel-10.4, but the workflow trigger is on.push.branches: [rel-10.4]. If the goal is to promote changes from dev into rel-10.4, this trigger will miss updates to dev and won’t run when new commits land on dev. Consider triggering on pushes to dev (or using a schedule / workflow_dispatch) so the promotion PR is created when dev changes.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants