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'