Skip to content

Commit 608f46e

Browse files
committed
use consistent variable expansion style
1 parent 7f37f3a commit 608f46e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sonar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
run: |
5353
git remote add upstream ${CLONE_URL}
5454
git fetch upstream
55-
git checkout -B $BASE_REF upstream/$BASE_REF
56-
git checkout $HEAD_BRANCH
55+
git checkout -B ${BASE_REF} upstream/${BASE_REF}
56+
git checkout ${HEAD_BRANCH}
5757
git clean -ffdx && git reset --hard HEAD
5858
- name: SonarCloud Scan on PR
5959
if: github.event.workflow_run.event == 'pull_request'

0 commit comments

Comments
 (0)