[fix](pipeline)delete all env.COMMENT without "", avoid introducing security vulnera… #17823

This commit is contained in:
zhangguoqiang
2023-03-16 08:59:22 +08:00
committed by GitHub
parent 921e8192b2
commit bcc568d240

View File

@ -56,8 +56,6 @@ jobs:
echo "pull_request_num : ${pull_request_num}"
echo "encoded_string : ${encoded_string}"
echo "latest_commit_id : ${{ env.LATEST_COMMIT }}"
echo "comment_message : ${{ env.COMMENT }}"
if [[ "${comment_message}" =~ "run" && "${comment_message}" =~ "buildall" && ! "${comment_message}" =~ "Thanks for your contribution" ]]; then
trigger_pipelines="Doris_Doris_FeUt Doris_DorisBeUt_BeUt Doris_DorisCompile_Compile Doris_Benchmark_Clickbench Doris_ArmPipeline_P0Regression ${trigger_pipelines}"