diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d94ac454..2203efa5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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]