Skip to content

Commit

Permalink
feat: keep going with tidiness checks
Browse files Browse the repository at this point in the history
Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
  • Loading branch information
f0rmiga committed Jan 11, 2022
1 parent 0791ec6 commit fd197d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/tidy_up_repository.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ set -o errexit -o nounset -o pipefail
if ! git diff --exit-code; then
error_msg="ERROR: The repository is not clean - please verify the changes and fix them."
echo "::error ::${error_msg}"
exit 1
fi

# Then, run a series of commands that could produce changes to the source tree.
Expand All @@ -23,6 +22,5 @@ for cmd in "${commands[@]}"; do
if ! git diff --exit-code; then
error_msg="ERROR: Please run '${cmd}' and commit the changes."
echo "::error ::${error_msg}"
exit 1
fi
done

0 comments on commit fd197d1

Please sign in to comment.