Skip to content

Update workflow to merge rel-10.3 with rel-10.2#25183

Merged
voloagent merged 1 commit into
rel-10.2from
skoc10-patch-4
Mar 31, 2026
Merged

Update workflow to merge rel-10.3 with rel-10.2#25183
voloagent merged 1 commit into
rel-10.2from
skoc10-patch-4

Conversation

@skoc10

@skoc10 skoc10 commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@skoc10 skoc10 added this to the 10.2-patch milestone Mar 31, 2026
@skoc10 skoc10 requested review from Copilot and voloagent March 31, 2026 11:12
@skoc10 skoc10 added the devops label Mar 31, 2026
@voloagent voloagent merged commit 2196022 into rel-10.2 Mar 31, 2026
4 checks passed
@voloagent voloagent deleted the skoc10-patch-4 branch March 31, 2026 11:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 auto PR GitHub Actions workflow metadata to promote changes from rel-10.3 into rel-10.2.

Changes:

  • Renamed the workflow and job to reference rel-10.3rel-10.2.
  • Switched the checkout ref from dev to rel-10.3.
  • Updated the generated PR title/body to reference rel-10.3.
Comments suppressed due to low confidence (2)

.github/workflows/auto-pr.yml:22

  • The checkout+reset sequence discards the source branch content: you check out rel-10.3 and then git reset --hard rel-10.2, leaving the workspace identical to rel-10.2 (so the PR will be empty / not actually merge rel-10.3 into rel-10.2). To create a promotion PR, check out the target branch (rel-10.2) and merge in rel-10.3 (or configure create-pull-request with base: rel-10.2 and head: rel-10.3 without resetting).
          ref: rel-10.3
      - name: Reset promotion branch
        run: |
          git fetch origin rel-10.2:rel-10.2
          git reset --hard rel-10.2

.github/workflows/auto-pr.yml:35

  • The merge step uses gh pr ready without specifying which PR/branch; in GitHub Actions this often fails because the current checked-out branch isn’t the newly created auto-merge/... branch. Use the outputs from the create-pull-request step (e.g., PR number/URL) and pass that to gh pr ready/review/merge to ensure the commands operate on the intended PR.
      - name: Merge Pull Request
        env:
          GH_TOKEN: ${{ secrets.BOT_SECRET }}
        run: |
          gh pr ready

@@ -24,8 +24,8 @@ jobs:
uses: peter-evans/create-pull-request@v3
with:
branch: auto-merge/rel-10-2/${{github.run_number}}

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

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

peter-evans/create-pull-request will target the currently checked-out branch unless base is specified. Given the goal is to merge into rel-10.2, set base: rel-10.2 explicitly; otherwise the PR may target rel-10.3 (or another branch depending on the checkout state).

Suggested change
branch: auto-merge/rel-10-2/${{github.run_number}}
branch: auto-merge/rel-10-2/${{github.run_number}}
base: rel-10.2

Copilot uses AI. Check for mistakes.
title: Merge branch dev with rel-10.2
body: This PR generated automatically to merge dev with rel-10.2. Please review the changed files before merging to prevent any errors that may occur.
title: Merge branch rel-10.3 with rel-10.2
body: This PR generated automatically to merge rel-10.3 with rel-10.2. Please review the changed files before merging to prevent any errors that may occur.

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

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

The PR body text is missing a verb (“This PR generated automatically …”). Consider updating to “This PR is generated automatically …” for correct grammar.

Suggested change
body: This PR generated automatically to merge rel-10.3 with rel-10.2. Please review the changed files before merging to prevent any errors that may occur.
body: This PR was generated automatically to merge rel-10.3 with rel-10.2. Please review the changed files before merging to prevent any errors that may occur.

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