mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
.github: ensure there is no change after make-fix
Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
parent
da9248d2fd
commit
0ece40453a
10
.github/workflows/static-analysis.yaml
vendored
10
.github/workflows/static-analysis.yaml
vendored
@ -30,3 +30,13 @@ jobs:
|
||||
set -euo pipefail
|
||||
|
||||
make fix
|
||||
|
||||
DIFF=$(git status --porcelain)
|
||||
|
||||
if [ -n "$DIFF" ]; then
|
||||
echo "These files were modified:"
|
||||
echo
|
||||
echo "$DIFF"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user