Skip to content

Commit 990c8a4

Browse files
authored
Merge pull request #14 from PlayerData/force-trusted-publishing
Force trusted publishing
2 parents a615cd6 + 16158bc commit 990c8a4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
name: Publish playerDatapy Python Package
3232
secrets: inherit
3333
needs: release
34+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
3435
uses: "./.github/workflows/publish.yml"
3536
with:
3637
new_release_published: ${{ needs.release.outputs.new_release_published }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ jobs:
4747

4848
- name: Publish
4949
if: ${{ inputs.new_release_published == 'true' }}
50-
run: uv publish
50+
run: uv publish --trusted-publishing always
5151

0 commit comments

Comments
 (0)