Skip to content

Commit 545fc4c

Browse files
Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#80)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 65800bf commit 545fc4c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/sonar.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
types: [opened, synchronize, reopened]
77

88
name: Sonar
9+
permissions:
10+
contents: read
911
jobs:
1012
sonarqube:
1113
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)