Skip to content

Commit e8e4d86

Browse files
Do not allow triggering PyPI releases manually
1 parent 89c9ea1 commit e8e4d86

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/wheel_tests_and_release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,8 @@ jobs:
181181
build_macos_wheels,
182182
build_windows_wheels,
183183
]
184-
# Run only on tags pushed to the repository or when triggered manually
185-
if: >-
186-
github.repository == 'PyWavelets/pywt' && (startsWith(github.ref, 'refs/tags/v') ||
187-
(github.event_name == 'workflow_dispatch' && github.event.inputs.push_wheels == 'true'))
184+
# Run only on tags pushed to the repository
185+
if: github.repository == 'PyWavelets/pywt' && startsWith(github.ref, 'refs/tags/v')
188186
runs-on: ubuntu-latest
189187
steps:
190188
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2

0 commit comments

Comments
 (0)