Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 56115bd

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

4 files changed

Lines changed: 15 additions & 0 deletions

File tree

‎.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)