diff --git a/yaml_work/2_pr_query_dir/get_ci_info.sh b/yaml_work/2_pr_query_dir/get_ci_info.sh index 335e0caf59320cf450b7ffdcfd48e75cb6b00c40..b55d45b76d074d37b8bac89f331c12376b2da4f2 100644 --- a/yaml_work/2_pr_query_dir/get_ci_info.sh +++ b/yaml_work/2_pr_query_dir/get_ci_info.sh @@ -3,15 +3,22 @@ curl -s -f -X GET --header 'Content-Type: application/json;charset=UTF-8' "https python3 a.py } +get_pr_status(){ +curl -s -f -X GET --header 'Content-Type: application/json;charset=UTF-8' "https://gitee.com/api/v5/repos/src-openeuler/$name/pulls/$prnum?access_token=$token" -o .file1 +} + create_ci_info_deal(){ cat > a.py <