File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
22
33on : push
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 build :
710 name : Build distribution 📦
4750 name : python-package-distributions
4851 path : dist/
4952 - name : Publish distribution 📦 to PyPI
50- uses : pypa/gh-action-pypi-publish@release/v1
53+ uses : pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
5154
5255 github-release :
5356 name : >-
6871 name : python-package-distributions
6972 path : dist/
7073 - name : Sign the dists with Sigstore
71- uses : sigstore/gh-action-sigstore-python@v3.0.0
74+ uses : sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
7275 with :
7376 inputs : >-
7477 ./dist/*.tar.gz
@@ -112,6 +115,6 @@ jobs:
112115 name : python-package-distributions
113116 path : dist/
114117 - name : Publish distribution 📦 to TestPyPI
115- uses : pypa/gh-action-pypi-publish@release/v1
118+ uses : pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
116119 with :
117120 repository-url : https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments