|
21 | 21 | ################
|
22 | 22 |
|
23 | 23 | pr:
|
24 |
| - if: ${{ github.event_name == 'pull_request' |
25 |
| - && !contains(github.event.head_commit.message, '[skip ci]') }} |
| 24 | + if: ${{ github.event_name == 'pull_request' }} |
26 | 25 | needs:
|
27 | 26 | - clippy
|
28 | 27 | - example
|
|
43 | 42 | ##########################
|
44 | 43 |
|
45 | 44 | clippy:
|
46 |
| - if: ${{ github.ref == 'refs/heads/master' |
47 |
| - || startsWith(github.ref, 'refs/tags/juniper') |
48 |
| - || !contains(github.event.head_commit.message, '[skip ci]') }} |
49 | 45 | runs-on: ubuntu-latest
|
50 | 46 | steps:
|
51 | 47 | - uses: actions/checkout@v3
|
|
58 | 54 | - run: make cargo.lint
|
59 | 55 |
|
60 | 56 | rustfmt:
|
61 |
| - if: ${{ github.ref == 'refs/heads/master' |
62 |
| - || startsWith(github.ref, 'refs/tags/juniper') |
63 |
| - || !contains(github.event.head_commit.message, '[skip ci]') }} |
64 | 57 | runs-on: ubuntu-latest
|
65 | 58 | steps:
|
66 | 59 | - uses: actions/checkout@v3
|
|
80 | 73 | ###########
|
81 | 74 |
|
82 | 75 | example:
|
83 |
| - if: ${{ github.ref == 'refs/heads/master' |
84 |
| - || startsWith(github.ref, 'refs/tags/juniper') |
85 |
| - || !contains(github.event.head_commit.message, '[skip ci]') }} |
86 | 76 | strategy:
|
87 | 77 | fail-fast: false
|
88 | 78 | matrix:
|
@@ -111,9 +101,6 @@ jobs:
|
111 | 101 | - run: cargo check -p example_${{ matrix.example }}
|
112 | 102 |
|
113 | 103 | feature:
|
114 |
| - if: ${{ github.ref == 'refs/heads/master' |
115 |
| - || startsWith(github.ref, 'refs/tags/juniper') |
116 |
| - || !contains(github.event.head_commit.message, '[skip ci]') }} |
117 | 104 | strategy:
|
118 | 105 | fail-fast: false
|
119 | 106 | matrix:
|
@@ -174,9 +161,6 @@ jobs:
|
174 | 161 | - run: cargo package -p ${{ steps.crate.outputs.NAME }}
|
175 | 162 |
|
176 | 163 | test:
|
177 |
| - if: ${{ github.ref == 'refs/heads/master' |
178 |
| - || startsWith(github.ref, 'refs/tags/juniper') |
179 |
| - || !contains(github.event.head_commit.message, '[skip ci]') }} |
180 | 164 | strategy:
|
181 | 165 | fail-fast: false
|
182 | 166 | matrix:
|
@@ -230,9 +214,6 @@ jobs:
|
230 | 214 | - run: make test.cargo crate=${{ matrix.crate }}
|
231 | 215 |
|
232 | 216 | wasm:
|
233 |
| - if: ${{ github.ref == 'refs/heads/master' |
234 |
| - || startsWith(github.ref, 'refs/tags/juniper') |
235 |
| - || !contains(github.event.head_commit.message, '[skip ci]') }} |
236 | 217 | strategy:
|
237 | 218 | fail-fast: false
|
238 | 219 | matrix:
|
@@ -264,9 +245,7 @@ jobs:
|
264 | 245 |
|
265 | 246 | release-check:
|
266 | 247 | name: Check release automation
|
267 |
| - if: ${{ !startsWith(github.ref, 'refs/tags/juniper') |
268 |
| - && (github.ref == 'refs/heads/master' |
269 |
| - || !contains(github.event.head_commit.message, '[skip ci]')) }} |
| 248 | + if: ${{ !startsWith(github.ref, 'refs/tags/juniper') }} |
270 | 249 | strategy:
|
271 | 250 | fail-fast: false
|
272 | 251 | matrix:
|
|
0 commit comments