88 Version-Check :
99 name : Version
1010 runs-on : ubuntu-24.04
11-
11+ permissions :
12+ contents : read
1213 steps :
1314 - name : SCM Checkout
1415 uses : actions/checkout@v4
2526 name : Docs
2627 needs : [ Version-Check ]
2728 runs-on : ubuntu-24.04
28-
29+ permissions :
30+ contents : read
2931 steps :
3032 - name : SCM Checkout
3133 uses : actions/checkout@v4
4042 Changelog :
4143 name : Changelog Update Check
4244 runs-on : ubuntu-24.04
45+ permissions :
46+ contents : read
4347 if : ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
44-
4548 steps :
4649 - name : SCM Checkout
4750 uses : actions/checkout@v4
@@ -55,11 +58,15 @@ jobs:
5558 build-matrix :
5659 name : Generate Build Matrix
5760 uses : ./.github/workflows/matrix-python.yml
61+ permissions :
62+ contents : read
5863
5964 Lint :
6065 name : Linting (Python-${{ matrix.python-version }})
6166 needs : [ Version-Check, build-matrix ]
6267 runs-on : ubuntu-24.04
68+ permissions :
69+ contents : read
6370 strategy :
6471 fail-fast : false
6572 matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
8996 name : Type Checking (Python-${{ matrix.python-version }})
9097 needs : [ Version-Check, build-matrix ]
9198 runs-on : ubuntu-24.04
99+ permissions :
100+ contents : read
92101 strategy :
93102 fail-fast : false
94103 matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
@@ -109,10 +118,11 @@ jobs:
109118 name : Security Checks (Python-${{ matrix.python-version }})
110119 needs : [ Version-Check, build-matrix ]
111120 runs-on : ubuntu-24.04
121+ permissions :
122+ contents : read
112123 strategy :
113124 fail-fast : false
114125 matrix : ${{ fromJson(needs.build-matrix.outputs.matrix) }}
115-
116126 steps :
117127 - name : SCM Checkout
118128 uses : actions/checkout@v4
@@ -135,7 +145,8 @@ jobs:
135145 Format :
136146 name : Format Check
137147 runs-on : ubuntu-24.04
138-
148+ permissions :
149+ contents : read
139150 steps :
140151 - name : SCM Checkout
141152 uses : actions/checkout@v4
@@ -150,6 +161,8 @@ jobs:
150161 name : Unit-Tests (Python-${{ matrix.python-version }})
151162 needs : [ Documentation, Lint, Type-Check, Security, Format, build-matrix ]
152163 runs-on : ubuntu-24.04
164+ permissions :
165+ contents : read
153166 env :
154167 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
155168 strategy :
0 commit comments