Skip to content

Commit e9e9a8f

Browse files
authored
Merge pull request #68 from microsoft/feature/wf-permissions
- adds permissions to workflows
2 parents 406536d + adad0ab commit e9e9a8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
types: [opened, synchronize, reopened]
1010
paths-ignore: ["**.md", ".vscode/**", "**.svg"]
1111

12+
permissions:
13+
contents: read
14+
pull-requests: read
15+
1216
env:
1317
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1418

0 commit comments

Comments
 (0)