mirror of
https://github.com/apache/superset.git
synced 2026-04-12 04:37:49 +00:00
build(ci): Provide diff for pre-commit failures (#25638)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
7
.github/workflows/superset-python-misc.yml
vendored
7
.github/workflows/superset-python-misc.yml
vendored
@@ -86,7 +86,12 @@ jobs:
|
||||
echo "HOMEBREW_REPOSITORY=$HOMEBREW_REPOSITORY" >>"${GITHUB_ENV}"
|
||||
brew install norwoodj/tap/helm-docs
|
||||
- name: pre-commit
|
||||
run: pre-commit run --all-files
|
||||
run: |
|
||||
if ! pre-commit run --all-files; then
|
||||
git status
|
||||
git diff
|
||||
exit 1
|
||||
fi
|
||||
|
||||
babel-extract:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
Reference in New Issue
Block a user