@@ -22,12 +22,13 @@ jobs:
2222 version : ${{ steps.verify.outputs.version }}
2323 steps :
2424 - name : Checkout
25- uses : actions/checkout@v6
25+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626 with :
2727 fetch-depth : 0
28+ persist-credentials : false
2829
2930 - name : Setup Python and uv
30- uses : astral-sh/setup-uv@v7
31+ uses : astral-sh/setup-uv@94527f2e458b27549849d47d273a16bec83a01e9 # v7
3132
3233 - id : verify
3334 name : Verify tag matches pyproject.toml and main
@@ -68,18 +69,18 @@ jobs:
6869 contents : read
6970 steps :
7071 - name : Checkout
71- uses : actions/checkout@v6
72-
73- - name : Install uv and Python 3.12
74- uses : astral-sh/setup-uv@v7
72+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7573 with :
76- python-version : " 3.12"
74+ persist-credentials : false
75+
76+ - name : Setup Python and uv
77+ uses : astral-sh/setup-uv@94527f2e458b27549849d47d273a16bec83a01e9 # v7
7778
7879 - name : Build distributions
7980 run : make build
8081
8182 - name : Upload distributions
82- uses : actions/upload-artifact@v7
83+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8384 with :
8485 name : python-package-distributions
8586 path : dist/*
@@ -95,13 +96,13 @@ jobs:
9596 contents : write
9697 steps :
9798 - name : Download distributions
98- uses : actions/download-artifact@v8
99+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
99100 with :
100101 name : python-package-distributions
101102 path : dist
102103
103104 - name : Create or update GitHub draft release
104- uses : ncipollo/release-action@v1
105+ uses : ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
105106 with :
106107 tag : ${{ needs.verify-tag.outputs.tag }}
107108 name : ${{ needs.verify-tag.outputs.tag }}
@@ -129,13 +130,13 @@ jobs:
129130 id-token : write
130131 steps :
131132 - name : Download distributions
132- uses : actions/download-artifact@v8
133+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
133134 with :
134135 name : python-package-distributions
135136 path : dist
136137
137138 - name : Publish package distributions to TestPyPI
138- uses : pypa/gh-action-pypi-publish@release/v1
139+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
139140 with :
140141 repository-url : https://test.pypi.org/legacy/
141142 skip-existing : true
@@ -155,16 +156,16 @@ jobs:
155156 id-token : write
156157 steps :
157158 - name : Download distributions
158- uses : actions/download-artifact@v8
159+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
159160 with :
160161 name : python-package-distributions
161162 path : dist
162163
163164 - name : Publish package distributions to PyPI
164- uses : pypa/gh-action-pypi-publish@release/v1
165+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
165166
166167 - name : Publish GitHub draft release
167- uses : ncipollo/release-action@v1.21.0
168+ uses : ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
168169 with :
169170 tag : ${{ needs.verify-tag.outputs.tag }}
170171 allowUpdates : true
0 commit comments