Skip to content

Commit ff2ae5b

Browse files
committed
Lint modified files only with Super-Linter
https://github.com/github/super-linter#standard-image
1 parent aa7dd30 commit ff2ae5b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/linter.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717

1818
name: Lint Code Base
1919

20-
on: [pull_request]
20+
on:
21+
pull_request:
22+
branches: [main]
2123

2224
permissions:
2325
contents: read
@@ -34,5 +36,7 @@ jobs:
3436
- name: SuperLinter
3537
uses: github/super-linter@v4
3638
env:
37-
VALIDATE_PYTHON_FLAKE8: true
39+
VALIDATE_ALL_CODEBASE: false
40+
DEFAULT_BRANCH: main
3841
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
VALIDATE_PYTHON_FLAKE8: true

0 commit comments

Comments
 (0)