Skip to content

Commit d301dd4

Browse files
committed
fixup renames
Signed-off-by: Sam Barker <sam@quadrocket.co.uk>
1 parent badc482 commit d301dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sonar.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: env.SONAR_TOKEN_SET == 'true'
3838
id: get_pr_data
3939
with:
40-
route: GET /repos/${{env.full_name}}/pulls/${{env.number}}
40+
route: GET /repos/${{env.full_name}}/pulls/${{env.pr_number}}
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
pr_number: ${{ steps.pr_number.outputs.content }}
@@ -60,7 +60,7 @@ jobs:
6060
if: env.SONAR_TOKEN_SET == 'true'
6161
with:
6262
repository: ${{ github.event.workflow_run.head_repository.full_name }}
63-
ref: ${{env.sanitized_head_ref}}
63+
ref: ${{env.SANITIZED_HEAD_REF}}
6464
fetch-depth: 0
6565
- name: Checkout base branch
6666
if: env.SONAR_TOKEN_SET == 'true'

0 commit comments

Comments
 (0)