Skip to content

Lint Code Base

Lint Code Base #2465

Workflow file for this run

name: Lint Code Base
on:
workflow_dispatch:
schedule:
- cron: '5 4 2,16 * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
build:
name: Lint code base
runs-on: ubuntu-latest
steps:
# CHECKOUT CODE
- id: checkout-code
name: Checkout code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list
# of changed files within `super-linter`
fetch-depth: 0
# LINT CODE
- id: read-env
name: Use super-linter environmental variables
shell: bash
run: |
# Use super-linter environmental variables
cat .github/super-linter.env >> "$GITHUB_ENV"
- id: lint-code-base
name: Lint Code Base
uses: github/super-linter/slim@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: main