Skip to content

Commit ae017cd

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

File tree

3 files changed

+7
-30
lines changed

3 files changed

+7
-30
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

.github/workflows/pre_commit_autoupdate.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)