File tree 1 file changed +7
-4
lines changed 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
name : Publish to PyPI
4
4
on : push
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
7
10
build :
44
47
name : python-package-distributions
45
48
path : dist/
46
49
- name : Publish distribution to PyPI
47
- uses : pypa/gh-action-pypi-publish@release/v1
50
+ uses : pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # release/v1
48
51
49
52
github-release :
50
53
name : Sign and upload GitHub Release
63
66
name : python-package-distributions
64
67
path : dist/
65
68
- name : Sign with Sigstore
66
-
69
+ uses : sigstore/gh-action-sigstore-python@1f6a500bbfdd9a2a339cf033e5421951fbc1cd2 # v2.1.1
67
70
with :
68
71
inputs : >-
69
72
./dist/*.tar.gz
@@ -107,8 +110,8 @@ jobs:
107
110
# name: python-package-distributions
108
111
# path: dist/
109
112
# - name: Publish distribution to TestPyPI
110
- # uses: pypa/gh-action-pypi-publish@release/v1
113
+ # uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # release/v1
111
114
# with:
112
115
# verbose: true
113
116
# print-hash: true
114
- # repository-url: https://test.pypi.org/legacy/
117
+ # repository-url: https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments