Skip to content

Commit d2d0e51

Browse files
committed
awesome lint also in pre-commit
Signed-off-by: Christian Henkel <christian.henkel2@de.bosch.com>
1 parent ac71882 commit d2d0e51

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ on:
44
branches: [main]
55
push:
66
branches: [main]
7+
schedule:
8+
- cron: "3 1 4 * *"
79
jobs:
810
lint:
911
runs-on: ubuntu-latest
1012
steps:
1113
- uses: actions/checkout@v2
1214
with:
1315
fetch-depth: 0
14-
- run: npx awesome-lint
1516
- name: Pre-commit
1617
uses: pre-commit/action@v3.0.1

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ repos:
2525
hooks:
2626
- id: markdown-link-check
2727
args: [-q, --config, .markdown-link-check.json]
28+
29+
- repo: https://github.com/pengqun/pre-commit-hooks
30+
rev: v1.1.0
31+
hooks:
32+
- id: awesome-lint

0 commit comments

Comments
 (0)