Skip to content

Commit 7aee2ec

Browse files
authored
Fix/cicd workflow (#50)
* Update mkdocs.yml * Update pyproject.toml * fix test step in ci pipeline * changed permission handling
1 parent 6af7cfb commit 7aee2ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cicd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: CICD
33
on:
44
workflow_dispatch:
55

6+
permissions:
7+
contents: write
8+
checks: write
9+
pull-requests: write
10+
611
jobs:
712
build:
813
name: Run Tests, Pre-Commits, and Build Python package
@@ -23,8 +28,6 @@ jobs:
2328
check-version:
2429
needs: check-branch
2530
runs-on: ubuntu-latest
26-
permissions:
27-
contents: read
2831
outputs:
2932
version: ${{ steps.get_version.outputs.VERSION }}
3033
steps:
@@ -59,7 +62,6 @@ jobs:
5962
needs: check-version
6063
runs-on: ubuntu-latest
6164
permissions:
62-
contents: write
6365
id-token: write
6466
steps:
6567
- uses: actions/checkout@v3
@@ -105,8 +107,6 @@ jobs:
105107
needs: [build, check-version, create-release]
106108
name: Publish Python package to PyPI
107109
runs-on: ubuntu-latest
108-
permissions:
109-
contents: read
110110
steps:
111111
- uses: actions/checkout@v3
112112

0 commit comments

Comments
 (0)