diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml index 1d640e6..20b1b79 100644 --- a/.github/workflows/pr-checks.yaml +++ b/.github/workflows/pr-checks.yaml @@ -100,4 +100,4 @@ jobs: steps: - uses: actions/checkout@v5 - - uses: crate-ci/typos@v1.38.1 + - uses: crate-ci/typos@v1.39.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..79a2151 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,25 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v6.0.0 + hooks: + - id: check-added-large-files + args: ["--maxkb=1024"] + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-json + - id: check-merge-conflict + - id: check-shebang-scripts-are-executable + - id: check-symlinks + - id: check-toml + - id: check-vcs-permalinks + - id: check-xml + - id: check-yaml + - id: detect-private-key + - id: mixed-line-ending + args: ["--fix=no"] + - id: no-commit-to-branch + - repo: https://github.com/crate-ci/typos + rev: v1.39.0 + hooks: + - id: typos + args: [] diff --git a/metadata.json b/metadata.json index fb582c1..deeafd3 100644 --- a/metadata.json +++ b/metadata.json @@ -85,5 +85,5 @@ ], "pdk-version": "3.4.0", "template-url": "https://github.com/danielparks/pdk-templates#main", - "template-ref": "heads/main-0-g5a17a8d" + "template-ref": "heads/main-0-g6783ef6" }