Skip to content

Commit c5909ec

Browse files
committed
update CI permissions
1 parent 84b96e7 commit c5909ec

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/codescan.yaml

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

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
code-ql:
1316
name: CodeQL

.github/workflows/release_pypi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: release pypi
22
# when manually triggered
33
on: workflow_dispatch
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
release_pypi:
710
name: PyPI release

.github/workflows/test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
schedule:
1111
- cron: '0 0 * * 0' # weekly
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
# run tests
1518
test:

0 commit comments

Comments
 (0)