File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,29 @@ jobs:
101
101
- name : Run docutils CLI
102
102
run : echo "test" | myst-docutils-html
103
103
104
+ # https://github.com/marketplace/actions/alls-green#why
105
+ check : # This job does nothing and is only used for the branch protection
106
+
107
+ if : always()
108
+
109
+ needs :
110
+ - pre-commit
111
+ - tests
112
+ - check-myst-docutils
113
+
114
+ runs-on : ubuntu-latest
115
+
116
+ steps :
117
+ - name : Decide whether the needed jobs succeeded or failed
118
+ uses : re-actors/alls-green@release/v1
119
+ with :
120
+ jobs : ${{ toJSON(needs) }}
121
+
104
122
publish :
105
123
106
124
name : Publish myst-parser to PyPi
107
- needs : [pre-commit, tests, check-myst-docutils]
125
+ needs :
126
+ - check
108
127
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
109
128
runs-on : ubuntu-latest
110
129
steps :
You can’t perform that action at this time.
0 commit comments