File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change 7
7
- cron : " 0 8 * * *"
8
8
9
9
jobs :
10
- # Run "pre-commit run --all-files"
11
- pre-commit :
12
- runs-on : ubuntu-20.04
13
- timeout-minutes : 2
14
-
15
- steps :
16
- - uses : actions/checkout@v2
17
- - uses : actions/setup-python@v2
18
- with :
19
- python-version : 3.8
20
-
21
- # ref: https://github.com/pre-commit/action
22
- -
uses :
pre-commit/[email protected]
23
- - name : Help message if pre-commit fail
24
- if : ${{ failure() }}
25
- run : |
26
- echo "You can install pre-commit hooks to automatically run formatting"
27
- echo "on each commit with:"
28
- echo " pre-commit install"
29
- echo "or you can run by hand on staged files with"
30
- echo " pre-commit run"
31
- echo "or after-the-fact on already committed files with"
32
- echo " pre-commit run --all-files"
33
-
34
10
build :
35
11
runs-on : ${{ matrix.os }}
36
12
timeout-minutes : 20
Original file line number Diff line number Diff line change @@ -48,12 +48,3 @@ repos:
48
48
rev : v8.12.0
49
49
hooks :
50
50
- id : eslint
51
-
52
- - repo : https://github.com/sirosen/check-jsonschema
53
- rev : 0.14.1
54
- hooks :
55
- - id : check-jsonschema
56
- name : " Check GitHub Workflows"
57
- files : ^\.github/workflows/
58
- types : [yaml]
59
- args : ["--schemafile", "https://json.schemastore.org/github-workflow"]
You can’t perform that action at this time.
0 commit comments