File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 56
56
name : Test SpiceyPy 🌶️ 🥧
57
57
needs : build
58
58
runs-on : ${{ matrix.os }}
59
+ permissions :
60
+ id-token : write
61
+ contents : read
59
62
strategy :
60
63
matrix :
61
64
os : [ubuntu-latest, macos-14, windows-latest]
@@ -121,8 +124,12 @@ jobs:
121
124
with :
122
125
fail_ci_if_error : false
123
126
verbose : true
127
+ use_oidc : true
124
128
test_offline_shared :
125
129
runs-on : ubuntu-latest
130
+ permissions :
131
+ id-token : write
132
+ contents : read
126
133
steps :
127
134
- name : Checkout 🌶️ 🥧
128
135
uses : actions/checkout@v4
@@ -169,8 +176,12 @@ jobs:
169
176
with :
170
177
fail_ci_if_error : false
171
178
verbose : true
179
+ use_oidc : true
172
180
test_offline_cspice_install :
173
181
runs-on : ubuntu-latest
182
+ permissions :
183
+ id-token : write
184
+ contents : read
174
185
steps :
175
186
- name : Checkout 🌶️ 🥧
176
187
uses : actions/checkout@v4
@@ -216,3 +227,4 @@ jobs:
216
227
with :
217
228
fail_ci_if_error : false
218
229
verbose : true
230
+ use_oidc : true
Original file line number Diff line number Diff line change 1
1
name : Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
2
-
2
+
3
3
on :
4
4
pull_request :
5
5
push :
12
12
build_sdist :
13
13
name : Make SpiceyPy 🌶️ 🥧 Python 🐍 source distribution
14
14
runs-on : ubuntu-latest
15
+ permissions :
16
+ id-token : write
17
+ contents : read
15
18
steps :
16
19
- name : Checkout 🌶️ 🥧
17
20
uses : actions/checkout@v4
39
42
with :
40
43
fail_ci_if_error : false
41
44
verbose : true
45
+ use_oidc : true
42
46
- name : Check dists
43
47
run : |
44
48
twine check dist/*
@@ -130,6 +134,9 @@ jobs:
130
134
name : Publish SpiceyPy 🌶️ 🥧 Python 🐍 distributions 📦 to PyPI and TestPyPI
131
135
needs : [build_wheels, build_sdist]
132
136
runs-on : ubuntu-latest
137
+ permissions :
138
+ id-token : write
139
+ contents : read
133
140
steps :
134
141
- uses : actions/download-artifact@v4
135
142
with :
You can’t perform that action at this time.
0 commit comments