mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-06 13:42:10 +08:00
fix: approve_all fail to pull all cherry-pick PRs
This commit is contained in:
@@ -26,7 +26,7 @@ done
|
||||
|
||||
PRNS=("$PRN")
|
||||
|
||||
for INDEX in $(python -m json.tool $pulldata | grep "\"title\":" | cut -d '"' -f 4 | grep -nr "Automated cherry pick of #${PRN}:" | awk 'BEGIN{FS=":"}{print $2}')
|
||||
for INDEX in $(python -m json.tool $pulldata | grep "\"title\":" | cut -d '"' -f 4 | grep -n "Automated cherry pick of #${PRN}:" | awk 'BEGIN{FS=":"}{print $1}')
|
||||
do
|
||||
INDEX=$((INDEX-1))
|
||||
PRNS+=("${PR_NUMBERS[$INDEX]}")
|
||||
|
||||
Reference in New Issue
Block a user