-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_setup_permission #49410
set_setup_permission #49410
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
b672abf
to
f7889f1
Compare
tools/check_file_diff_approvals.sh
Outdated
elif [ "${HAS_MODIFIED_SETUP_IN}" == "" ] && [ "${GIT_PR_ID}" != "" ] && [ "${HAS_MODIFIED_SETUP}" != "" ];then | ||
echo_line="You must have one RD (liujiaodi) approval for setup.py and setup.py.in are not modified synchronously" | ||
check_approval 1 liujiaodi | ||
elif [ "${HAS_MODIFIED_SETUP_IN}" != "" ] && [ "${GIT_PR_ID}" != "" ] && [ "${HAS_MODIFIED_SETUP}" != "" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不用修改原始逻辑,新增一条 (modified_setup) || (modified_setup.in && not_modified_setup) approve检查即可
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok,thks
tools/check_file_diff_approvals.sh
Outdated
if [ "${HAS_MODIFIED_SETUP_IN}" != "" ] && [ "${GIT_PR_ID}" != "" ]; then | ||
HAS_MODIFIED_SETUP=`git diff --name-only upstream/$BRANCH | grep "${PADDLE_ROOT}/setup.py" || true` | ||
if [ "${HAS_MODIFIED_SETUP_IN}" != "" ] && [ "${GIT_PR_ID}" != "" ] && [ "${HAS_MODIFIED_SETUP}" == "" ];then | ||
echo_line="You must have one RD (liujiaodi) approval for setup.py and setup.py.in are not modified synchronously" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
该用github id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok,get
3c72250
to
2ebf90e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
0c1ff98
to
b3df359
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
others
PR changes
others
Describe
当改动了setup.py.in但是没有改动setup.py时,或者改动了setup.py没有同步改动setup.py.in时,需要approve