Skip to content

Commit

Permalink
Merge branch 'main' into api-v6 (#12121)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mcafee authored Sep 27, 2023
1 parent 864d541 commit 2fd20b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-samples-staging/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
env:
BRANCH: ${{ github.ref_name }}
run: |
if git ls-remote --exit-code --heads origin $BRANCH >/dev/null 2>&1; then
if git ls-remote origin $BRANCH | grep -q refs/heads/next/$BRANCH$; then
# Branch exists, checkout and echo success message
git fetch origin $BRANCH
git checkout $BRANCH
Expand Down

0 comments on commit 2fd20b7

Please sign in to comment.