diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8cfbb51..8909e0c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -99,6 +99,7 @@ jobs: publish: name: Publish runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' needs: - build steps: