Skip to content

Commit f8bc5f0

Browse files
committed
Tune release process
1 parent e0e000d commit f8bc5f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ jobs:
9696
runs-on: ubuntu-latest
9797
needs: [check]
9898
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
99+
permissions:
100+
contents: write # IMPORTANT: mandatory for making GitHub Releases
101+
id-token: write # IMPORTANT: mandatory for trusted publishing & sigstore
102+
environment:
103+
name: pypi
104+
url: >-
105+
https://pypi.org/project/${{ env.PROJECT_NAME }}/${{ github.ref_name }}
99106
steps:
100107
- name: Checkout
101108
uses: actions/checkout@v4

0 commit comments

Comments
 (0)