Skip to content

Commit

Permalink
add linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rzabolotin committed Sep 21, 2024
1 parent e67d300 commit 7b37641
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Super-Linter

on:
pull_request:
branches: [ main ]

jobs:
super-lint:
name: Lint code base
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files
fetch-depth: 0

- name: Run Super-Linter
uses: github/super-linter@v6.6.0
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_PYTHON: true
VALIDATE_DOCKERFILE: true
VALIDATE_YAML: true
VALIDATE_MARKDOWN: true
VALIDATE_BASH: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_LARGE_FILES: false

0 comments on commit 7b37641

Please sign in to comment.