File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 1919jobs :
2020
2121 test-nodejs :
22+ # We just check the message of first commit as there is always just one commit because we squash into one before merging
23+ # "commits" contains array of objects where one of the properties is commit "message"
24+ # Release workflow will be skipped if release conventional commits are not used
25+ if : |
26+ startsWith( github.repository, 'asyncapi/' ) &&
27+ (startsWith( github.event.commits[0].message , 'fix:' ) ||
28+ startsWith( github.event.commits[0].message, 'fix!:' ) ||
29+ startsWith( github.event.commits[0].message, 'feat:' ) ||
30+ startsWith( github.event.commits[0].message, 'feat!:' ))
2231 name : Test NodeJS release on ${{ matrix.os }}
2332 runs-on : ${{ matrix.os }}
2433 strategy :
You can’t perform that action at this time.
0 commit comments