26 lines
547 B
YAML
26 lines
547 B
YAML
---
|
|
name: Lint
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
run-lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out the codebase.
|
|
uses: actions/checkout@v3
|
|
with:
|
|
# Full git history is needed to get a proper list of changed files
|
|
fetch-depth: 0
|
|
|
|
- name: Lint Code Base
|
|
uses: github/super-linter@v5
|
|
env:
|
|
VALIDATE_ALL_CODEBASE: false
|
|
DEFAULT_BRANCH: main
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|