Skip to content

Commit 7aca04b

Browse files
committed
Set linter to run Python only
1 parent a861488 commit 7aca04b

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/linter.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
---
21
name: Lint
32

4-
on: # yamllint disable-line rule:truthy
5-
push: null
6-
pull_request: null
7-
8-
permissions: {}
3+
on:
4+
pull_request:
5+
branches: [ master, main, develop ]
96

107
jobs:
118
build:
@@ -29,5 +26,6 @@ jobs:
2926
- name: Super-linter
3027
uses: super-linter/[email protected] # x-release-please-version
3128
env:
32-
# To report GitHub Actions status checks
29+
VALIDATE_ALL_CODEBASE: true
30+
VALIDATE_PYTHON_BLACK: true
3331
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: Django CI
22

33
on:
4-
push:
5-
branches: [ "master", "develop" ]
64
pull_request:
7-
branches: [ "master", "develop" ]
5+
branches: [ master, develop ]
86

97
jobs:
108
build:

0 commit comments

Comments
 (0)