Skip to content

Commit

Permalink
Add third_party approval (PaddlePaddle#56430)
Browse files Browse the repository at this point in the history
* test=document_fix

* test=document_fix
  • Loading branch information
tianshuo78520a authored and BeingGod committed Sep 9, 2023
1 parent cfca312 commit 5dd8596
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/check_file_diff_approvals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fi

PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../" && pwd )"
API_FILES=("CMakeLists.txt"
"third_party"
"paddle/fluid/framework/operator.h"
"paddle/fluid/framework/tensor.h"
"paddle/fluid/framework/details/op_registry.h"
Expand Down Expand Up @@ -136,6 +137,9 @@ for API_FILE in ${API_FILES[*]}; do
if [ "${API_FILE}" == "CMakeLists.txt" ];then
echo_line="You must have one RD (wanghuancoder, luotao1, Aurelius84, XiaoguangHu01 or qili93) approval for CMakeLists.txt, which manages the compilation parameter.\n"
check_approval 1 6836917 46782768 26922892 16605440 9301846
elif [ "${API_FILE}" == "third_party" ];then
echo_line="You must have one RD (risemeup1 or tianshuo78520a) approval for ${API_FILE}.\n"
check_approval 1 risemeup1 tianshuo78520a
elif [ "${API_FILE}" == "python/paddle/fluid/__init__.py" ];then
echo_line="You must have one RD (lanxianghit (Recommend), phlrain, luotao1, Aurelius84 or qili93) approval for the python/paddle/fluid/init.py, which manages the environment variables.\n"
check_approval 1 6836917 47554610 43953930 16605440 9301846
Expand Down

0 comments on commit 5dd8596

Please sign in to comment.