Skip to content

Commit e34928b

Browse files
authored
chore: update attestations in publish workflow (#222)
Fixes #214
1 parent 6510855 commit e34928b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,9 @@ jobs:
1414
# disables this workflow from running in a repository that is not part of the indicated organization/user
1515
if: github.repository_owner == 'afuetterer'
1616
runs-on: ubuntu-24.04
17-
permissions:
18-
attestations: write
19-
id-token: write
2017
steps:
2118
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2219
- uses: hynek/build-and-inspect-python-package@f01e4d047aadcc0c054c95ec9900da3ec3fc7a0f # v2.10.0
23-
with:
24-
attest-build-provenance-github: 'true'
2520
upload:
2621
name: Upload package distributions to GitHub Releases
2722
# disables this workflow from running in a repository that is not part of the indicated organization/user
@@ -56,6 +51,9 @@ jobs:
5651
path: dist
5752
- name: Publish package to PyPI
5853
uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2
54+
with:
55+
attestations: true
56+
5957
docker:
6058
name: Publish Docker image to ghcr.io
6159
# disables this workflow from running in a repository that is not part of the indicated organization/user

0 commit comments

Comments
 (0)