You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please adjust the style of the CHANGELOG and commit it. Run \"npm run prerelease:format-changelog\"' && exit 1)"
60
+
61
+
- name: Show changes on failure
62
+
if: failure()
63
+
run: |
64
+
git status
65
+
git diff CHANGELOG.md
66
+
exit 1 # make it red to grab attention
67
+
68
+
summary:
69
+
permissions:
70
+
contents: none
71
+
runs-on: ubuntu-latest
72
+
needs: [changes, lint]
73
+
74
+
if: always()
75
+
76
+
name: Changelog lint summary
77
+
78
+
steps:
79
+
- name: Summary status
80
+
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
0 commit comments