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

fix: Do not write Docker pull logs in fixed file if no yq and yq imag… #10

Merged
merged 1 commit into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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