Skip to content

Commit 89c5993

Browse files
committed
[build] fix auto-updating of browsers
1 parent 4592f1b commit 89c5993

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/pin-browsers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
echo "::notice::PR #$existing already exists"
4949
pr="$existing"
5050
else
51-
pr=$(gh pr create \
51+
pr_url=$(gh pr create \
5252
--head pinned-browser-updates \
5353
--base trunk \
5454
--title "[dotnet][rb][java][js][py] Automated Browser Version Update" \
55-
--body $'This is an automated pull request to update pinned browsers and drivers\n\nMerge after verify the new browser versions properly passing the tests and no bugs need to be filed' \
56-
--json number --jq '.number')
55+
--body $'This is an automated pull request to update pinned browsers and drivers\n\nMerge after verify the new browser versions properly passing the tests and no bugs need to be filed')
56+
pr="${pr_url##*/}"
5757
fi
5858
gh pr merge "$pr" --auto --squash --delete-branch

0 commit comments

Comments
 (0)