This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch xuanwo/pr-autotest-workflow
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit 5c8abd6a072b4472dd8af8599c72b8b05ca0e55f
Author: Xuanwo <[email protected]>
AuthorDate: Mon Dec 1 17:40:35 2025 +0800

    Fix
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .github/workflows/full-ci-promote.yml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/full-ci-promote.yml 
b/.github/workflows/full-ci-promote.yml
index ab3325768..8bf3bceeb 100644
--- a/.github/workflows/full-ci-promote.yml
+++ b/.github/workflows/full-ci-promote.yml
@@ -56,7 +56,7 @@ jobs:
           git checkout -B "${TARGET_BRANCH}" remotes/contrib/head
           git push --force origin "${TARGET_BRANCH}"
 
-      - name: Create or update internal PR
+      - name: Create or update mirror PR
         id: create_internal_pr
         uses: actions/github-script@v7
         env:
@@ -78,8 +78,8 @@ jobs:
               per_page: 1,
             });
 
-            let internalPr = existing[0];
-            if (!internalPr) {
+            let mirrorPr = existing[0];
+            if (!mirrorPr) {
               const title = `[CI] Full run for 
#${context.payload.pull_request.number}`;
               const body = [
                 `Mirrored branch for PR 
#${context.payload.pull_request.number}.`,
@@ -88,11 +88,11 @@ jobs:
               ].join('\n');
 
               const createResp = await github.rest.pulls.create({ owner, repo, 
head: headParam, base, title, body });
-              internalPr = createResp.data;
+              mirrorPr = createResp.data;
             }
 
-            core.setOutput('internal_pr_number', internalPr.number);
-            core.setOutput('internal_pr_html_url', internalPr.html_url);
+            core.setOutput('mirror_pr_number', mirrorPr.number);
+            core.setOutput('mirror_pr_html_url', mirrorPr.html_url);
 
       - name: Trigger CI workflows
         uses: actions/github-script@v7
@@ -121,20 +121,20 @@ jobs:
       - name: Comment on PR
         uses: actions/github-script@v7
         env:
-          INTERNAL_PR: ${{ steps.create_internal_pr.outputs.internal_pr_number 
|| '' }}
-          INTERNAL_PR_URL: ${{ 
steps.create_internal_pr.outputs.internal_pr_html_url || '' }}
+          MIRROR_PR: ${{ steps.create_internal_pr.outputs.mirror_pr_number || 
'' }}
+          MIRROR_PR_URL: ${{ 
steps.create_internal_pr.outputs.mirror_pr_html_url || '' }}
         with:
           script: |
             const marker = '<!-- ci-bot:full-ci -->';
             const prNumber = context.payload.pull_request.number;
             const owner = context.repo.owner;
             const repo = context.repo.repo;
-            const internalUrl = process.env.INTERNAL_PR_URL;
+            const mirrorUrl = process.env.MIRROR_PR_URL;
 
             const body = [
               marker,
               'Maintainer triggered full CI with repository secrets.',
-              `Please monitor the mirrored CI PR for results: ${internalUrl}`,
+              `Please monitor the mirrored CI PR for results: ${mirrorUrl}`,
               'Workflows dispatched: ci_core.yml, test_behavior.yml.',
               'Re-applying the label will refresh this mirror.',
             ].join('\n');

Reply via email to