Skip to content

Commit ea1e936

Browse files
committed
chg: Add persmissions on github actions
1 parent e5a5d1f commit ea1e936

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/codeql-analysis.yml

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

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
analyse:
1417
name: Analyse

.github/workflows/mypy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
build:
11+
permissions:
12+
contents: read
1113

1214
runs-on: ubuntu-latest
1315
strategy:

.github/workflows/pytests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
build:
11+
permissions:
12+
contents: read
1113

1214
runs-on: ubuntu-latest
1315
strategy:

0 commit comments

Comments
 (0)