diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edff04a0..b5fa13b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: deploy-release-snapshot: runs-on: ubuntu-latest - if: "github.event_name == 'push'" + if: "github.event_name == 'push' && github.event.ref == 'refs/heads/main'" needs: [ "run-unit-tests", "stylecheck" ] steps: - name: Checkout repository