name: Lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
name: Super linter
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
# Full git history is needed to get a proper list of changed files within `super-linter`
|
|
fetch-depth: 0
|
|
- name: Lint Code Base
|
|
uses: docker://github/super-linter:v4
|
|
env:
|
|
LINTER_RULES_PATH: .
|
|
VALIDATE_ALL_CODEBASE: false
|
|
DEFAULT_BRANCH: master
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
VALIDATE_MD: true
|
|
MARKDOWN_CONFIG_FILE: .markdownlint.yml
|
|
VALIDATE_PROTOBUF: false
|
|
VALIDATE_JSCPD: false
|
|
VALIDATE_NATURAL_LANGUAGE: false
|