Skip to content

Commit 0609e49

Browse files
added permission to clone the repo
1 parent f0f28b9 commit 0609e49

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/sonarqube.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
permissions:
14+
contents: read # allows workflow to checkout private repository
1415
pull-requests: read # Allows SonarQube to decorate PRs with analysis results
1516

1617
jobs:

.github/workflows/unit.tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
types: [opened, synchronize, reopened, auto_merge_enabled]
99
workflow_dispatch:
1010
permissions:
11+
contents: read # allows workflow to checkout private repository
1112
pull-requests: read
1213

1314
jobs:

0 commit comments

Comments
 (0)