|
47 | 47 |
|
48 | 48 | pre-checks: |
49 | 49 | needs: [check-permissions] |
50 | | - if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} |
51 | 50 | name: Formatting | Dedupe | Changeset |
52 | 51 | runs-on: "blacksmith-8vcpu-ubuntu-2204" |
53 | 52 | defaults: |
|
84 | 83 | run: pnpm format:check |
85 | 84 |
|
86 | 85 | - name: Require Changeset |
87 | | - if: ${{ !(github.event_name == 'merge_group') }} |
| 86 | + if: ${{ github.event_name != 'merge_group' && github.event.pull_request.draft == false }} |
88 | 87 | run: | |
89 | 88 | if [[ "${{ github.event.pull_request.user.login }}" = "clerk-cookie" || "${{ github.event.pull_request.user.login }}" = "renovate[bot]" ]]; then |
90 | 89 | echo 'Skipping'; |
|
95 | 94 |
|
96 | 95 | build-packages: |
97 | 96 | needs: [check-permissions] |
98 | | - if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} |
99 | 97 | name: Build Packages |
100 | 98 | runs-on: "blacksmith-8vcpu-ubuntu-2204" |
101 | 99 | permissions: |
@@ -142,7 +140,6 @@ jobs: |
142 | 140 |
|
143 | 141 | static-analysis: |
144 | 142 | needs: [check-permissions, build-packages] |
145 | | - if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} |
146 | 143 | name: Static analysis |
147 | 144 | permissions: |
148 | 145 | contents: read |
@@ -207,7 +204,6 @@ jobs: |
207 | 204 |
|
208 | 205 | unit-tests: |
209 | 206 | needs: [check-permissions, build-packages] |
210 | | - if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} |
211 | 207 | name: Unit Tests (${{ matrix.filter-label }}) |
212 | 208 | permissions: |
213 | 209 | contents: read |
@@ -286,9 +282,7 @@ jobs: |
286 | 282 |
|
287 | 283 | integration-tests: |
288 | 284 | needs: [check-permissions, build-packages] |
289 | | - if: >- |
290 | | - ${{ (github.event_name != 'pull_request' || github.event.pull_request.draft == false) |
291 | | - && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }} |
| 285 | + if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} |
292 | 286 | name: Integration Tests (${{ matrix.test-name }}, ${{ matrix.test-project }}${{ matrix.next-version && format(', {0}', matrix.next-version) || '' }}) |
293 | 287 | permissions: |
294 | 288 | contents: read |
@@ -496,7 +490,6 @@ jobs: |
496 | 490 |
|
497 | 491 | pkg-pr-new: |
498 | 492 | name: Publish with pkg-pr-new |
499 | | - if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} |
500 | 493 | needs: [check-permissions, build-packages] |
501 | 494 | runs-on: "blacksmith-8vcpu-ubuntu-2204" |
502 | 495 | defaults: |
|
0 commit comments