Skip to content

Commit

Permalink
fix main push detection in workflow (#3240)
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jan 10, 2023
1 parent 6b1e2fd commit 812e9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
node: ${{ steps.ci.outputs.diff != '' || steps.node.outputs.diff != '' }}
push: ${{ steps.ci.outputs.diff != '' || github.event_name == 'push' }}
tag: ${{ steps.ci.outputs.diff != '' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/node-file-trace')) }}
main_push: ${{ github.event_name == 'push' && github.ref == 'refs/head/main' }}
main_push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
tag_push: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/node-file-trace') }}

go_lint:
Expand Down

0 comments on commit 812e9ab

Please sign in to comment.