Skip to content

Commit af6c3bb

Browse files
authored
Merge pull request #122 from microsoft/ci/missing-permissions
ci: adds missing permissions to fix codeql report
2 parents d5141cb + e3f88c0 commit af6c3bb

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/dart.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
branches: [ "main" ]
1818
workflow_dispatch:
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
define-matrix:
2225
runs-on: ubuntu-latest
@@ -41,6 +44,7 @@ jobs:
4144

4245
permissions:
4346
checks: write
47+
contents: read
4448

4549
strategy:
4650
fail-fast: false
@@ -150,6 +154,7 @@ jobs:
150154

151155
permissions:
152156
id-token: write # Required for authentication using OIDC
157+
contents: read
153158

154159
needs:
155160
- define-matrix

.github/workflows/release-please-gha.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
branches:
1616
- main
1717

18+
19+
permissions:
20+
contents: read
21+
1822
jobs:
1923
release:
2024
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)