Skip to content

Commit 77920ca

Browse files
lucasc017claude
andcommitted
[AAP-71476] Replace read-all with specific permissions in SonarCloud workflow
Narrow workflow permissions from read-all to only the scopes needed: contents, actions, and pull-requests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1ec196d commit 77920ca

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/sonar-pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ on:
3030
- CI
3131
types:
3232
- completed
33-
permissions: read-all
33+
permissions:
34+
contents: read
35+
actions: read
36+
pull-requests: read
3437
jobs:
3538
sonar-pr-analysis:
3639
name: SonarCloud PR Analysis

0 commit comments

Comments
 (0)