You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by he...@apache.org on 2026/04/29 14:38:53 UTC
(doris) branch fix/comment-body-github-output-injection created (now 78bf6859d8a)
This is an automated email from the ASF dual-hosted git repository.
hello-stephen pushed a change to branch fix/comment-body-github-output-injection
in repository https://gitbox.apache.org/repos/asf/doris.git
at 78bf6859d8a fix YAML syntax: avoid blank lines inside run block string
This branch includes the following new commits:
new 78bf6859d8a fix YAML syntax: avoid blank lines inside run block string
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
(doris) 01/01: fix YAML syntax: avoid blank lines inside run block string
Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hello-stephen pushed a commit to branch fix/comment-body-github-output-injection
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 78bf6859d8ad35e202b75f805cd708f688de11a6
Author: lidongyang <li...@selectdb.com>
AuthorDate: Wed Apr 29 22:38:39 2026 +0800
fix YAML syntax: avoid blank lines inside run block string
---
.github/workflows/comment-to-trigger-teamcity.yml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/comment-to-trigger-teamcity.yml b/.github/workflows/comment-to-trigger-teamcity.yml
index 9956d9d296a..194a07bf322 100644
--- a/.github/workflows/comment-to-trigger-teamcity.yml
+++ b/.github/workflows/comment-to-trigger-teamcity.yml
@@ -244,12 +244,8 @@ jobs:
done < all_files
if ${changed_sensitive} && [[ "${COMMENT_TRIGGER_TYPE}" != "buildall" ]]; then
- create_an_issue_comment "${PULL_REQUEST_NUM}" \
- "⚠️ **Security Notice**: This PR modifies pipeline scripts that are executed by TeamCity with credentials access (ak/sk, tokens, etc.).
-
-To prevent injection attacks, single test triggers (\`run p0\`, \`run feut\`, etc.) are blocked when pipeline scripts are modified.
-
-Please review the pipeline script changes carefully. If they are safe, a committer can use \`run buildall\` to explicitly acknowledge and trigger the pipeline."
+ msg="⚠️ **Security Notice**: This PR modifies pipeline scripts that are executed by TeamCity with credentials access (ak/sk, tokens, etc.).\n\nTo prevent injection attacks, single test triggers (\`run p0\`, \`run feut\`, etc.) are blocked when pipeline scripts are modified.\n\nPlease review the pipeline script changes carefully. If they are safe, a committer can use \`run buildall\` to explicitly acknowledge and trigger the pipeline."
+ create_an_issue_comment "${PULL_REQUEST_NUM}" "${msg}"
exit 1
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org