Skip to content

Commit e4b6b32

Browse files
Update workflows permissions (#77)
1 parent 1641f5c commit e4b6b32

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- '**'
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
tests:
1316
name: ${{ matrix.os }} / ${{ matrix.python-version }}

.github/workflows/code-quality.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- '**'
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
check-formatting:
1316
name: Check code/doc formatting

0 commit comments

Comments
 (0)