We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0bc38c commit 2447b49Copy full SHA for 2447b49
.github/workflows/sonar.yml
@@ -48,8 +48,9 @@ jobs:
48
env:
49
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
50
CLONE_URL: ${{ github.event.repository.clone_url }}
51
- BASE_REF: ${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}
52
run: |
+ BASE_REF="${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}"
53
+
54
git remote add upstream ${CLONE_URL}
55
git fetch upstream
56
git checkout -B ${BASE_REF} upstream/${BASE_REF}
0 commit comments