Skip to content

Commit 27d521f

Browse files
authored
Merge pull request #8 from Hasenpfote/remove-unnecessary-permissions
Remove unnecessary permissions
2 parents 3785181 + f0529d2 commit 27d521f

File tree

7 files changed

+0
-23
lines changed

7 files changed

+0
-23
lines changed

.github/workflows/codecov_upload.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
workflow_dispatch:
55
workflow_call:
66

7-
permissions:
8-
contents: read
9-
107
jobs:
118
env_prep:
129
runs-on: ubuntu-latest

.github/workflows/docs.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
workflow_dispatch:
77
workflow_call:
88

9-
# security: restrict permissions for CI jobs.
10-
permissions:
11-
contents: read
12-
139
jobs:
1410
env_prep:
1511
runs-on: ubuntu-latest

.github/workflows/lint.yml

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

8-
permissions:
9-
contents: read
10-
118
jobs:
129
env_prep:
1310
if: |

.github/workflows/poetry_caching_feature.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Poetry caching feature
22

33
on: workflow_dispatch
44

5-
permissions:
6-
contents: read
7-
85
jobs:
96
matrix_prep:
107
runs-on: ubuntu-latest

.github/workflows/poetry_caching_on_windows_with_install_poetry.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Poetry caching on Windows with install-poetry
22

33
on: workflow_dispatch
44

5-
permissions:
6-
contents: read
7-
85
env:
96
config-poetry-version: '' # Empty is the latest version.
107
#config-poetry-path: ${USERPROFILE}\.local\bin # An error occurs.

.github/workflows/test.yml

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

8-
permissions:
9-
contents: read
10-
118
jobs:
129
matrix_prep:
1310
if: |

.github/workflows/testpypi.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,4 @@ jobs:
7070
docs:
7171
if: true # true if documentation is needed.
7272
needs: deploy
73-
permissions:
74-
contents: read
75-
pages: write
76-
id-token: write
7773
uses: ./.github/workflows/docs.yml

0 commit comments

Comments
 (0)