4444 ${{ contains(matrix.python-version, '~') && true || false }}
4545
4646 steps :
47- - name : Harden Runner
48- uses : step-security/harden-runner@v2
49- with :
50- egress-policy : block
51- allowed-endpoints : >
52- api.github.com:443
53- files.pythonhosted.org:443
54- github.com:443
55- objects.githubusercontent.com:443
56- pypi.org:443
5747 - uses : actions/checkout@v3
5848 - uses : actions/setup-python@v4
5949 with :
9080 needs : tests
9181
9282 steps :
93- - name : Harden Runner
94- uses : step-security/harden-runner@v2
95- with :
96- egress-policy : block
97- allowed-endpoints : >
98- files.pythonhosted.org:443
99- github.com:443
100- pypi.org:443
101- api.github.com:443
102-
10383 - uses : actions/checkout@v3
10484 - uses : actions/setup-python@v4
10585 with :
@@ -130,16 +110,6 @@ jobs:
130110 name : Build docs & run doctests
131111 runs-on : ubuntu-latest
132112 steps :
133- - name : Harden Runner
134- uses : step-security/harden-runner@v2
135- with :
136- egress-policy : block
137- allowed-endpoints : >
138- docs.python.org:443
139- files.pythonhosted.org:443
140- github.com:443
141- pypi.org:443
142-
143113 - uses : actions/checkout@v3
144114 - uses : actions/setup-python@v4
145115 with :
@@ -175,18 +145,6 @@ jobs:
175145 name : Check types using pyright
176146 runs-on : ubuntu-latest
177147 steps :
178- - name : Harden Runner
179- uses : step-security/harden-runner@v2
180- with :
181- egress-policy : block
182- allowed-endpoints : >
183- files.pythonhosted.org:443
184- github.com:443
185- nodejs.org:443
186- pypi.org:443
187- registry.npmjs.org:443
188- api.github.com:443
189-
190148 - uses : actions/checkout@v3
191149 - uses : actions/setup-python@v4
192150 with :
@@ -203,16 +161,6 @@ jobs:
203161 os : [ubuntu-latest, windows-latest]
204162
205163 steps :
206- - name : Harden Runner
207- uses : step-security/harden-runner@v2
208- with :
209- disable-sudo : true
210- egress-policy : block
211- allowed-endpoints : >
212- files.pythonhosted.org:443
213- github.com:443
214- pypi.org:443
215- api.github.com:443
216164 - uses : actions/checkout@v3
217165 - uses : actions/setup-python@v4
218166 with :
@@ -235,13 +183,6 @@ jobs:
235183 runs-on : ubuntu-latest
236184
237185 steps :
238- - name : Harden Runner
239- uses : step-security/harden-runner@v2
240- with :
241- disable-sudo : true
242- egress-policy : block
243- allowed-endpoints : >
244- api.github.com:443
245186 - name : Decide whether the needed jobs succeeded or failed
246187 uses : re-actors/alls-green@release/v1
247188 with :
0 commit comments