Skip to content

Commit a039250

Browse files
authored
.github: Lint modified files only with Super-Linter (apache#6531)
https://github.com/github/super-linter#standard-image
1 parent 7ff3e7f commit a039250

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/linter.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,15 @@ jobs:
3030
name: SuperLinter Check
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v3
33+
- name: Checkout Code
34+
uses: actions/checkout@v3
35+
with:
36+
# Full git history is needed to get a proper list of changed files within `super-linter`
37+
fetch-depth: 0
3438
- name: SuperLinter
3539
uses: github/super-linter@v4
3640
env:
37-
VALIDATE_PYTHON_FLAKE8: true
41+
DEFAULT_BRANCH: main
3842
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
VALIDATE_ALL_CODEBASE: false
44+
VALIDATE_PYTHON_FLAKE8: true

0 commit comments

Comments
 (0)