Skip to content

Commit a3156e6

Browse files
authored
Remove redundant job and problematic check (#765)
1 parent bed6327 commit a3156e6

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

.github/workflows/python-tests.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,6 @@ on:
77
- cron: "0 8 * * *"
88

99
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-
3410
build:
3511
runs-on: ${{ matrix.os }}
3612
timeout-minutes: 20

.pre-commit-config.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,3 @@ repos:
4848
rev: v8.12.0
4949
hooks:
5050
- 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"]

0 commit comments

Comments
 (0)