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

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new bcb5761449e [chore](build) Allow yiguolei to skip buildall on 
branch-4.2 (#69152)
bcb5761449e is described below

commit bcb5761449ec1a6ce20736ceb11982d04d9ecde9
Author: Dongyang Li <[email protected]>
AuthorDate: Fri Oct 16 10:58:08 2026 +0800

    [chore](build) Allow yiguolei to skip buildall on branch-4.2 (#69152)
    
    ### What problem does this PR solve?
    
    Issue Number: None
    
    Related PR: None
    
    Problem Summary: The comment workflow runs from `master` and currently
    rejects `skip buildall` from `yiguolei` (GitHub user ID `9208457`) for
    PRs targeting `branch-4.2`. Add an exact `branch-4.2` authorization rule
    on `master` without changing permissions for other users or branches.
    
    ### Release note
    
    None
    
    ### Check List (For Author)
    
    - Test
    - [x] Manual test: Ran the extracted workflow permission branch for
    `9208457` on `branch-4.2` (allowed), `branch-4.1` and `branch-4.0`
    (still allowed), `prefix-branch-4.2` (denied), and another user on
    `branch-4.2` (denied). Ran `actionlint -ignore SC2034` and `git diff
    --check`.
    - Behavior changed:
    - [x] Yes. `yiguolei` can now issue `skip buildall` for PRs targeting
    exactly `branch-4.2`.
    - Does this need documentation?
        - [x] No.
---
 .github/workflows/comment-to-trigger-teamcity.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/comment-to-trigger-teamcity.yml 
b/.github/workflows/comment-to-trigger-teamcity.yml
index 89cfbaa2348..853aa6bf17f 100644
--- a/.github/workflows/comment-to-trigger-teamcity.yml
+++ b/.github/workflows/comment-to-trigger-teamcity.yml
@@ -138,6 +138,10 @@ jobs:
                 echo "COMMENT_USER_ID ${COMMENT_USER_ID} is allowed to skip 
buildall for branch-4.1"
                 echo "comment_trigger=false" | tee -a "$GITHUB_OUTPUT"
                 echo "comment_skip=true" | tee -a "$GITHUB_OUTPUT"
+            elif [[ "${COMMENT_USER_ID}" == '9208457' && "${TARGET_BRANCH}" == 
'branch-4.2' ]]; then
+                echo "COMMENT_USER_ID ${COMMENT_USER_ID} is allowed to skip 
buildall for branch-4.2"
+                echo "comment_trigger=false" | tee -a "$GITHUB_OUTPUT"
+                echo "comment_skip=true" | tee -a "$GITHUB_OUTPUT"
             else
                 echo "COMMENT_USER_ID ${COMMENT_USER_ID} is not allowed to 
skip buildall."
                 exit


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to