From a3114ae43f798bd917286b10094e6ab3a6ff6af2 Mon Sep 17 00:00:00 2001 From: morningman Date: Wed, 26 Apr 2023 13:59:31 +0800 Subject: [PATCH] [community](action) modify auto trigger teamcity script --- .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 962e641e165130..222e2478183797 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=""