Skip to content

Commit

Permalink
fix: workflow condition
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Nov 16, 2023
1 parent 076ccc6 commit 68c46dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/auto-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' }}
if: |
${{ github.event.head_commit.message == 'chore: publish'
&& github.ref == 'refs/heads/main' }}
needs:
- test
- test-cli
Expand Down

0 comments on commit 68c46dc

Please sign in to comment.