Skip to content

Update super-linter.yml #397

Update super-linter.yml

Update super-linter.yml #397

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
permissions:
contents: read # for actions/checkout to fetch code
statuses: write # for super-linter/super-linter/slim to mark status of each linter run
name: Super-Linter
runs-on: ubuntu-latest
steps:
- name: 'Checkout ${{ github.ref }} ( ${{ github.sha }} )'
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- uses: super-linter/super-linter/slim@v7.2.0
env:
DEFAULT_BRANCH: main
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FIX_HTML_PRETTIER: true