We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent badc482 commit d301dd4Copy full SHA for d301dd4
.github/workflows/sonar.yaml
@@ -37,7 +37,7 @@ jobs:
37
if: env.SONAR_TOKEN_SET == 'true'
38
id: get_pr_data
39
with:
40
- route: GET /repos/${{env.full_name}}/pulls/${{env.number}}
+ route: GET /repos/${{env.full_name}}/pulls/${{env.pr_number}}
41
env:
42
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
pr_number: ${{ steps.pr_number.outputs.content }}
@@ -60,7 +60,7 @@ jobs:
60
61
62
repository: ${{ github.event.workflow_run.head_repository.full_name }}
63
- ref: ${{env.sanitized_head_ref}}
+ ref: ${{env.SANITIZED_HEAD_REF}}
64
fetch-depth: 0
65
- name: Checkout base branch
66
0 commit comments