Skip to content

Commit

Permalink
fix (actions): only run buf_if_merged when it's the main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlambrt committed Nov 20, 2023
1 parent c93ec17 commit cbc1dcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ jobs:
# if merged -> then lint, build and finally push a commit to the buf registry
buf_if_merged:
if: ${{ github.ref_name == 'main'}}
strategy:
matrix:
platform: [ubuntu-latest]
Expand Down

0 comments on commit cbc1dcd

Please sign in to comment.