Skip to content

Commit 0fdf48a

Browse files
authored
fix: error on compile versions workflow (#270)
<!-- Thank you for proposing a pull request! Please note that SOME TESTS WILL LIKELY FAIL due to how GitHub exposes secrets in Pull Requests from forks. Someone from the team will review your Pull Request and respond. Please describe your change and any implementation details below. -->
1 parent 82dfc67 commit 0fdf48a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/compile-versions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
git config user.email "github-actions-bot@google.com"
3232
3333
# fetch the PR branch and switch to it, if it doesnt exist a new local branch is created
34-
git fetch origin "${{ env.PR_BRANCH }}" && git switch -c "${{ env.PR_BRANCH }}"
34+
noop=$(git fetch origin "${{ env.PR_BRANCH }}")
35+
git switch -c "${{ env.PR_BRANCH }}"
3536
3637
- name: 'Get versions list'
3738
run: |-

0 commit comments

Comments
 (0)