From 7ebbbeda0be4a0a927f9e58ad4fa534f8d1e960b Mon Sep 17 00:00:00 2001 From: Alexander Holas Date: Fri, 1 Dec 2023 13:55:53 -0500 Subject: [PATCH] Add actionlint pre-commit --- .pre-commit-config.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000000..6b21d3437a0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,16 @@ +--- +fail_fast: false +repos: + #- repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + # rev: v0.1.5 + # hooks: + # Run the linter. + # - id: ruff + # args: [ --fix ] + # Run the formatter. + # - id: ruff-format + - repo: https://github.com/rhysd/actionlint + rev: v1.6.26 + hooks: + - id: actionlint