Insight Generation #3169
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RUN SuperLinter | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
statuses: write | |
steps: | |
- name: Check Out Code | |
uses: actions/checkout@v4 | |
with: | |
# Full git history is needed to get a proper list of changed files | |
fetch-depth: 0 | |
# Lint changed files of these langauges using Super Linter shared action | |
- name: Lint Code Base | |
uses: super-linter/super-linter/slim@v7.1.0 | |
env: | |
DEFAULT_BRANCH: main | |
VALIDATE_ALL_CODEBASE: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_DOCKERFILE: true | |
VALIDATE_TSX: true | |
VALIDATE_TYPESCRIPT_ES: true | |
VALIDATE_JAVASCRIPT_ES: true | |
PYTHON_BLACK_CONFIG_FILE: black.ini | |
VALIDATE_PYTHON_BLACK: true | |
VALIDATE_PYTHON_PYLINT: true | |
PYTHON_PYLINT_CONFIG_FILE: .pylintrc | |
VALIDATE_PYTHON_FLAKE8: true | |
VALIDATE_TERRAFORM_FMT: true | |
# VALIDATE_GITHUB_ACTIONS: true # TODO: figure out how to just ignore the set-output deprecation warning then re-enable | |
# VALIDATE_ENV: true # TODO: figure out how to lint locally first | |
VALIDATE_BASH: true | |
VALIDATE_YAML: true |