Skip to content

Commit

Permalink
ci: restrict publish to main branch + workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hm committed Jul 31, 2024
1 parent a0048d3 commit 2a1cf2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-test-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
publish:
needs: [ check, build-and-test ]
#if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' disabled while building pipeline
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 2a1cf2c

Please sign in to comment.