Skip to content

Update linter.yml

Update linter.yml #135

Workflow file for this run

name: CI for PRs
on:
pull_request:
branches: [master, main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Super-Linter
uses: github/super-linter@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: main
OUTPUT_FOLDER: linter_reports # super linter dumps results in this directory
OUTPUT_DETAILS: detailed
DISABLE_ERRORS: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_ALL_CODEBASE: false #set this to true if you want the linter to always check the entire codebase instead of the committed changes. NOT CONVINIENT IF THERE IS A LOT OF CODE
VALIDATE_YAML: false
VALIDATE_CSS: false