You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/pin-browsers.yml
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,10 +43,13 @@ jobs:
43
43
existing=$(gh pr list --head pinned-browser-updates --json number --jq '.[0].number // empty')
44
44
if [ -n "$existing" ]; then
45
45
echo "::notice::PR #$existing already exists"
46
+
pr="$existing"
46
47
else
47
-
gh pr create \
48
+
pr=$(gh pr create \
48
49
--head pinned-browser-updates \
49
50
--base trunk \
50
51
--title "[dotnet][rb][java][js][py] Automated Browser Version Update" \
51
-
--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'
52
+
--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' \
0 commit comments