Skip to content

Commit bfa4536

Browse files
authored
fix(ci): fix SonarCloud PR decoration not updating PRs (#4571)
- Upgrade download-artifact from v5 to v8 - Add pull-requests: write permission required for PR decoration comments
1 parent 838d1e9 commit bfa4536

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/sonar.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1212
permissions:
1313
actions: read # Required to download artifacts
14+
pull-requests: write # Required for PR decoration comments
1415
steps:
1516
- name: 'Checkout project'
1617
uses: actions/checkout@v6
@@ -21,7 +22,7 @@ jobs:
2122

2223
- name: 'Download cached artifact'
2324
if: github.event_name == 'workflow_run'
24-
uses: actions/download-artifact@v5
25+
uses: actions/download-artifact@v8
2526
with:
2627
name: sonar-artifact
2728
run-id: ${{ github.event.workflow_run.id }}

0 commit comments

Comments
 (0)