Skip to content

Commit 56115bd

Browse files
committed
chore: update github action workflow permissions
1 parent 54d1d36 commit 56115bd

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
run-unittests:
1013
name: unit${{ matrix.option }}-${{ matrix.python }}

0 commit comments

Comments
 (0)