Skip to content

Bump actions/github-script (#93) #350

Bump actions/github-script (#93)

Bump actions/github-script (#93) #350

Workflow file for this run

# This workflow lints changed files based on languages
# used in your code base on push or pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/super-linter/super-linter
name: Lint Code Base
on: # yamllint disable-line rule:truthy
push: null
pull_request: null
permissions: {}
jobs:
build:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v6.0.2
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Super-linter
uses: super-linter/super-linter@v8.6.0 # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Only lint changed files, not the entire codebase
VALIDATE_ALL_CODEBASE: 'false'
# Disable redundant Prettier linters (formatting-only, not catching bugs)
VALIDATE_CSS_PRETTIER: 'false'
VALIDATE_HTML_PRETTIER: 'false'
VALIDATE_JAVASCRIPT_PRETTIER: 'false'
VALIDATE_JSON_PRETTIER: 'false'
VALIDATE_MARKDOWN_PRETTIER: 'false'
VALIDATE_YAML_PRETTIER: 'false'
# Disable linters not useful for a demo repo
VALIDATE_NATURAL_LANGUAGE: 'false'
VALIDATE_JSCPD: 'false'
VALIDATE_BIOME_FORMAT: 'false'
VALIDATE_BIOME_LINT: 'false'
VALIDATE_CHECKOV: 'false'
VALIDATE_TRIVY: 'false'
VALIDATE_GITHUB_ACTIONS_ZIZMOR: 'false'