Skip to content

Commit 3b1c949

Browse files
authored
fix: fix release-please configuration (#104)
1 parent 5ff8d97 commit 3b1c949

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-please.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
target-branch: main
4747
token: ${{ secrets.GITHUB_TOKEN }}
4848

49-
# Trigger appropriate publish workflows based on release type
50-
trigger-publish:
49+
# Publish packages only when releases are actually created by release-please
50+
publish:
5151
permissions:
5252
contents: write
5353
# This permission is mandatory for PyPI's trusted publishing
5454
id-token: write
5555
needs: release-please
56-
if: ${{ needs.release-please.outputs.releases_created }}
56+
if: ${{ needs.release-please.outputs.releases_created == 'true' }}
5757
runs-on: ubuntu-latest
5858
steps:
5959
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)