Skip to content

Commit 58e30f0

Browse files
authored
chore: fix secrets in CI (#5)
* chore: trigger CI in PR Signed-off-by: Michele Dolfi <[email protected]> * run poetry auth config only on releases Signed-off-by: Michele Dolfi <[email protected]> --------- Signed-off-by: Michele Dolfi <[email protected]>
1 parent 6b82be8 commit 58e30f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
run: |
6161
poetry run python --version
6262
63-
- name: Setup pypi for poetry
63+
- name: Setup pypi for poetry [for releases only]
64+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
6465
run: |
6566
poetry config keyring.enabled false
6667
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)