Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
fix: Do not write Docker pull logs in fixed file if no yq and yq imag… (
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov committed Apr 6, 2023
1 parent 9250fec commit 52d7c26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>SpotOnInc/renovate-config"
]
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["local>SpotOnInc/renovate-config"],
}
4 changes: 4 additions & 0 deletions hooks/yq_yaml_prettier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ function check_is_deps_installed {
exit 1
fi

# Prevent "Docker pull logs" added to fixed file.
# https://github.com/SpotOnInc/pre-commit-yq/issues/9
docker pull mikefarah/yq:4 > /dev/null

function yq {
docker run --rm -i -v "${PWD}":/workdir mikefarah/yq:4 "$@"
}
Expand Down

0 comments on commit 52d7c26

Please sign in to comment.