Skip to content

Commit

Permalink
fix: ci activation rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanchristopheruel committed May 28, 2024
1 parent 0327fb1 commit 5ae1538
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: Publish OpenSTL
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
Expand Down Expand Up @@ -61,7 +63,7 @@ jobs:
git push
build_wheels:
if: "startsWith(github.event.head_commit.message, 'bump:')"
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && startsWith(github.event.head_commit.message, 'bump:')"
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 5ae1538

Please sign in to comment.