Skip to content

Commit f0decbb

Browse files
committed
Adding permissions to CI and Release workflows.
1 parent 52ac1a1 commit f0decbb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
build:
1111

1212
runs-on: windows-latest
13+
permissions:
14+
contents: read
1315

1416
steps:
1517
- uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
build:
99

1010
runs-on: windows-latest
11+
permissions:
12+
contents: read
1113

1214
steps:
1315
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)