We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 552d866 commit c1ec31fCopy full SHA for c1ec31f
.github/workflows/ci-cd.yml
@@ -211,10 +211,25 @@ jobs:
211
cat "${log}"
212
done
213
214
+ check: # This job does nothing and is only used for the branch protection
215
+ if: always()
216
+
217
+ needs:
218
+ - lint
219
+ - tests
220
221
+ runs-on: ubuntu-latest
222
223
+ steps:
224
+ - name: Decide whether the needed jobs succeeded or failed
225
+ uses: re-actors/alls-green@release/v1
226
+ with:
227
+ jobs: ${{ toJSON(needs) }}
228
229
publish:
230
name: Validate metadata and optionally publish 🐍📦 to PyPI
231
needs:
- - tests
232
+ - check
233
runs-on: ${{ matrix.os }}
234
strategy:
235
# NOTE: Even though it's one job, it's easier to keep the params in one
0 commit comments