From 455cd97e662ea21f2a52b7f7b8ee452e77b6c6d5 Mon Sep 17 00:00:00 2001 From: Pavel Chekin Date: Tue, 15 Oct 2024 07:08:16 -0700 Subject: [PATCH] Temporary disable pre-commit hook expand-yaml-anchors --- .pre-commit-config.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9dd1dd2e4e..9d08178b59 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,22 +46,22 @@ repos: # Expand YAML anchors in files used by github workflows, because github can't # do this itself. This lets us use anchors, which avoids code duplication. - - repo: local - hooks: - - id: expand-yaml-anchors - name: Expand YAML anchors - language: golang - additional_dependencies: [github.com/mikefarah/yq/v4@latest] - entry: > - bash -c ' - OUT=".github/workflows/integration-tests.yml" - IN="$OUT.in" - echo "# AUTOGENERATED by pre-commit, modify the .in file instead." > "$OUT" && - echo >> "$OUT" - yq "explode(.)" "$IN" >> "$OUT" - ' - files: ^.github/workflows/integration-tests.yml.* - pass_filenames: false +# - repo: local +# hooks: +# - id: expand-yaml-anchors +# name: Expand YAML anchors +# language: golang +# additional_dependencies: [github.com/mikefarah/yq/v4@latest] +# entry: > +# bash -c ' +# OUT=".github/workflows/integration-tests.yml" +# IN="$OUT.in" +# echo "# AUTOGENERATED by pre-commit, modify the .in file instead." > "$OUT" && +# echo >> "$OUT" +# yq "explode(.)" "$IN" >> "$OUT" +# ' +# files: ^.github/workflows/integration-tests.yml.* +# pass_filenames: false - repo: https://github.com/PyCQA/bandit rev: '1.7.9'