From d8a38f8128a2f05a347b4bae02ee6edc19fdd247 Mon Sep 17 00:00:00 2001 From: Mingyu Chen Date: Thu, 15 Jun 2023 09:33:46 +0800 Subject: [PATCH] [community](action) modify auto trigger teamcity script (#19095) --- .github/workflows/auto_trigger_teamcity.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto_trigger_teamcity.yml b/.github/workflows/auto_trigger_teamcity.yml index 962e641e16..222e247818 100644 --- a/.github/workflows/auto_trigger_teamcity.yml +++ b/.github/workflows/auto_trigger_teamcity.yml @@ -46,10 +46,9 @@ jobs: else echo "Comment was made on an issue, not a pull request." fi - comment="${{ env.ISSUE_COMMENT }}" pull_request_num=${{ env.PULL_REQUEST_NUM }} - encoded_string=$(perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "${comment}") - comment_message="${comment}" + encoded_string=$(perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$ISSUE_COMMENT") + comment_message="$ISSUE_COMMENT" latest_commit_id="${{ env.LATEST_COMMIT }}" teamcity_url="${{ env.TEAMCITY_URL }}" trigger_pipelines=""