diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 824e95b..4d10897 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: pull_request: push: - branches: [main] + branches: ["**"] release: types: - published @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest needs: [test] - if: github.event_name != 'pull_request' + if: github.ref == 'refs/heads/main' || github.event_name == 'release' steps: - uses: actions/checkout@v4 with: