Skip to content

Commit f0188c6

Browse files
authored
chore: update github action workflow permissions (#875)
This PR addresses the feedback from Github in #873
1 parent d211307 commit f0188c6

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ on:
22
pull_request:
33
branches:
44
- main
5+
6+
permissions:
7+
contents: read
8+
59
name: docs
610
jobs:
711
docs:

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ on:
22
pull_request:
33
branches:
44
- main
5+
6+
permissions:
7+
contents: read
8+
59
name: lint
610
jobs:
711
lint:

.github/workflows/mypy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ on:
22
pull_request:
33
branches:
44
- main
5+
6+
permissions:
7+
contents: read
8+
59
name: mypy
610
jobs:
711
mypy:

.github/workflows/unittest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
unit-prerelease:
1013
name: prerelease_deps

0 commit comments

Comments
 (0)