Fix workflow to handle multiple merges

This commit is contained in:
Manna Harbour 2022-10-05 16:13:05 +11:00
parent 17d20c5404
commit 3684f92b03

View File

@ -191,7 +191,7 @@ jobs:
git config user.name "${GITHUB_ACTOR}" git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git fetch --unshallow git fetch --unshallow
for merge in "$merges" for merge in $merges
do do
user=`echo "$merge" | cut -f 1 -d '/'` user=`echo "$merge" | cut -f 1 -d '/'`
repo=`echo "$merge" | cut -f 2 -d '/'` repo=`echo "$merge" | cut -f 2 -d '/'`