Skip to content

Commit

Permalink
Do not allow triggering PyPI releases manually
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Mar 12, 2024
1 parent 89c9ea1 commit e8e4d86
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/wheel_tests_and_release.yml
Expand Up @@ -181,10 +181,8 @@ jobs:
build_macos_wheels,
build_windows_wheels,
]
# Run only on tags pushed to the repository or when triggered manually
if: >-
github.repository == 'PyWavelets/pywt' && (startsWith(github.ref, 'refs/tags/v') ||
(github.event_name == 'workflow_dispatch' && github.event.inputs.push_wheels == 'true'))
# Run only on tags pushed to the repository
if: github.repository == 'PyWavelets/pywt' && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand Down

0 comments on commit e8e4d86

Please sign in to comment.