Skip to content

Commit 0457cc5

Browse files
committed
.github: allow only read permission in sonar-check.yml
1 parent a367049 commit 0457cc5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/sonar-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ name: Sonar Quality Check
1919

2020
on: [pull_request_target]
2121

22+
permissions:
23+
contents: read
24+
2225
concurrency:
2326
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2427
cancel-in-progress: true

0 commit comments

Comments
 (0)