File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,12 @@ if [ -n "$CI_OLD_SCRIPTS_PADDLE_BUILD" ] || [ -n "$CI_OLD_SCRIPTS_COVERAGE" ] ||
9999 check_approval 1 tianshuo78520a swgu98
100100fi
101101
102+ HAS_MODIFIED_LINUX_NPU_YML=$( git diff --name-only upstream/$BRANCH | grep " .github/workflows/_Linux-NPU.yml" || true)
103+ if [ " ${HAS_MODIFIED_LINUX_NPU_YML} " != " " ] && [ " ${PR_ID} " != " " ]; then
104+ echo_line=" You must have one RD (yongqiangma, YqGe585) approval for .github/workflows/_Linux-NPU.yml changes, which manages the NPU CI workflow.\n"
105+ check_approval 1 yongqiangma YqGe585
106+ fi
107+
102108DEPS_PHI_IN_IR=` git diff --name-only upstream/$BRANCH | grep -E " paddle/pir/" | grep " CMakeList" | xargs -r git diff -U0 upstream/$BRANCH --| grep " ^\+" | grep " phi" || true`
103109echo " DEPS_PHI_IN_IR:${DEPS_PHI_IN_IR} "
104110if [ " ${DEPS_PHI_IN_IR} " ] && [ " ${DEPS_PHI_IN_IR} " != " " ]; then
You can’t perform that action at this time.
0 commit comments