File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 24
24
id : check-changeset
25
25
- name : Print changeset checker output
26
26
run : echo "${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}"
27
+ - name : Print blocking failure status
28
+ run : echo "${{steps.check-changeset.outputs.BLOCKING_FAILURE}}"
27
29
- name : Find Comment
28
30
uses : peter-evans/find-comment@v1
29
31
id : fc
59
61
- No changeset formatting errors detected.
60
62
# Don't want it to throw before editing the comment.
61
63
- name : Fail if checker script logged a blocking failure
62
- if : ${{steps.check-changeset.outputs.BLOCKING_FAILURE}}
64
+ if : ${{steps.check-changeset.outputs.BLOCKING_FAILURE == 'true' }}
63
65
run : exit 1
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ async function main() {
87
87
const errors = [ ] ;
88
88
try {
89
89
await exec ( 'yarn changeset status' ) ;
90
+ console . log ( `::set-output name=BLOCKING_FAILURE::false` ) ;
90
91
} catch ( e ) {
91
92
const messageLines = e . message . replace ( / 🦋 e r r o r / g, '' ) . split ( '\n' ) ;
92
93
let formattedStatusError =
You can’t perform that action at this time.
0 commit comments