mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
.github: Lint modified files only with Super-Linter (#6531)
https://github.com/github/super-linter#standard-image
This commit is contained in:
parent
7ff3e7f968
commit
a039250b3b
10
.github/workflows/linter.yml
vendored
10
.github/workflows/linter.yml
vendored
@ -30,9 +30,15 @@ jobs:
|
||||
name: SuperLinter Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
# Full git history is needed to get a proper list of changed files within `super-linter`
|
||||
fetch-depth: 0
|
||||
- name: SuperLinter
|
||||
uses: github/super-linter@v4
|
||||
env:
|
||||
VALIDATE_PYTHON_FLAKE8: true
|
||||
DEFAULT_BRANCH: main
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
VALIDATE_PYTHON_FLAKE8: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user