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 e27d394 commit 99855d7Copy full SHA for 99855d7
.github/workflows/ci.yml
@@ -72,9 +72,21 @@ jobs:
72
file: ./coverage.xml
73
env_vars: PYTHON,OS
74
75
+ check: # This job does nothing and is only used for the branch protection
76
+ if: always()
77
+ needs: [lint, test]
78
+ runs-on: ubuntu-latest
79
+
80
+ steps:
81
+ - name: Decide whether the needed jobs succeeded or failed
82
+ uses: re-actors/alls-green@release/v1
83
+ id: all-green
84
+ with:
85
+ jobs: ${{ toJSON(needs) }}
86
87
release:
88
name: Release
- needs: [lint, test]
89
+ needs: [check]
90
if: "success() && startsWith(github.ref, 'refs/tags/')"
91
runs-on: ubuntu-latest
92
environment: release
0 commit comments