diff --git a/tools/check_file_diff_approvals.sh b/tools/check_file_diff_approvals.sh index efe492dffc8e21162450df81ac429bcc6873ff96..e77b71e4da1c9c938fea8673f6d140243860b65c 100644 --- a/tools/check_file_diff_approvals.sh +++ b/tools/check_file_diff_approvals.sh @@ -35,6 +35,7 @@ API_FILES=("CMakeLists.txt" "paddle/fluid/framework/framework.proto" "python/paddle/distributed/__init" "python/paddle/distributed/fleet/__init__.py" + "python/paddle/distributed/fleet/launch.py" "python/requirements.txt" "python/paddle/fluid/__init__.py" "python/paddle/fluid/compiler.py" @@ -165,6 +166,9 @@ for API_FILE in ${API_FILES[*]}; do elif [ "${API_FILE}" == "python/paddle/distributed/__init__.py" ]; then echo_line="You must have (fuyinno4 (Recommend), raindrops2sea) approval for ${API_FILE} changes" check_approval 1 35824027 38231817 + elif [ "${API_FILE}" == "python/paddle/distributed/fleet/launch.py" ]; then + echo_line="You must have (fuyinno4 (Recommend), raindrops2sea) approval for ${API_FILE} changes" + check_approval 1 35824027 38231817 elif [ "${API_FILE}" == "paddle/scripts/paddle_build.bat" ] || [ "${API_FILE}" == "tools/windows/run_unittests.sh" ]; then echo_line="You must have one RD (zhouwei25 (Recommend), wanghuancoder, luotao1) approval for ${API_FILE} changes, which manages the Paddle CI task on Windows.\n" check_approval 1 52485244 6836917 26922892