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.
2 parents fb860e8 + 2c2f499 commit bdfbfd5Copy full SHA for bdfbfd5
.github/workflows/ci-cd.yml
@@ -84,12 +84,25 @@ jobs:
84
fail_ci_if_error: true # optional (default = false)
85
verbose: true # optional (default = false)
86
87
+ check: # This job does nothing and is only used for the branch protection
88
+ if: always()
89
+ needs:
90
+ - build
91
+ - test
92
+ runs-on: ubuntu-24.04
93
+ timeout-minutes: 5
94
+
95
+ steps:
96
+ - name: Decide whether the needed jobs succeeded or failed
97
+ uses: re-actors/alls-green@release/v1
98
+ with:
99
+ jobs: ${{ toJSON(needs) }}
100
101
pypi-publish:
102
name: Publish Python 🐍 distribution 📦 to PyPI
103
if: github.ref_type == 'tag' # only publish on tag pushes
104
needs:
- - build
- - test
105
+ - check
106
runs-on: ubuntu-24.04
107
environment:
108
name: pypi
0 commit comments