q-shift / backstage-plugins

Apache License 2.0
3 stars 7 forks source link

Fixes GH workflow error when generated document doesn't have changes #90

Closed jacobdotcosta closed 7 months ago

jacobdotcosta commented 7 months ago

Prevent the Update the documentation on PR merge GH workflow from failing when it doesn't generate changes.

Closes #89

jacobdotcosta commented 7 months ago

The command that generates the error is the git commit. When nothing to commit, working tree clean happens the exit code is 1 which triggers the error on the workflow.