Skip to content

Commit 43998ba

Browse files
committed
dependabot: add pre-commit
1 parent 6f19ef3 commit 43998ba

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/dependabot.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
version: 2
2+
enable-beta-ecosystems: true
23
updates:
34
- package-ecosystem: github-actions
45
directory: /
@@ -9,3 +10,7 @@ updates:
910
patterns: ["*"]
1011
cooldown:
1112
default-days: 7
13+
- package-ecosystem: pre-commit
14+
directory: /
15+
schedule:
16+
interval: weekly

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: gitleaks
2424

2525
- repo: https://github.com/codespell-project/codespell
26-
rev: v2.4.1
26+
rev: v2.4.0
2727
hooks:
2828
- id: codespell
2929
args: [--ignore-words-list=protols]
@@ -33,6 +33,7 @@ repos:
3333
hooks:
3434
- id: zizmor
3535
args: [--no-progress, --fix=all]
36+
files: (\.github/workflows/.*)|(action\.ya?ml)$ # https://github.com/zizmorcore/zizmor/issues/1636
3637

3738
- repo: local
3839
hooks:
@@ -47,7 +48,7 @@ repos:
4748
name: shfmt
4849
entry: shfmt --indent=4 --write
4950
language: golang
50-
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@d1e5f80]
51+
additional_dependencies: [mvdan.cc/sh/v3/cmd/shfmt@fff6e56]
5152
types: [shell]
5253
exclude: .p10k.zsh # https://github.com/mvdan/sh/issues/120
5354
- id: oxfmt

0 commit comments

Comments
 (0)