Skip to content

Commit 65438de

Browse files
authored
disable attestations for gh-action-pypi-publish + pin action version
1 parent e43f0c4 commit 65438de

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/tests+pypi.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,17 @@ jobs:
238238
merge-multiple: true
239239
path: dist
240240
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
241-
uses: pypa/gh-action-pypi-publish@unstable/v1
241+
uses: pypa/gh-action-pypi-publish@release/v1.12
242242
with:
243243
repository_url: https://test.pypi.org/legacy/
244+
attestations: false
244245
- run: |
245246
echo "github.event_name:" ${{ github.event_name }}
246247
echo "github.event.action:" ${{ github.event.action }}
247248
echo "github.event.prerelease:" ${{ github.event.prerelease }}
248249
echo "env.GITHUB_REF:" ${{ env.GITHUB_REF }}
249250
echo "env.GITHUB_REF:" ${{ env.GITHUB_REF_NAME }}
250251
- if: github.event_name == 'release' && github.event.prerelease == false
251-
uses: pypa/gh-action-pypi-publish@unstable/v1
252+
uses: pypa/gh-action-pypi-publish@release/v1.12
253+
with:
254+
attestations: false

0 commit comments

Comments
 (0)