Skip to content

wip

wip #1

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
super-linter:
name: Lint and Validate
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Super Linter
uses: super-linter/[email protected]
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Enable specific linters
VALIDATE_YAML: true
VALIDATE_MARKDOWN: true
VALIDATE_JSON: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE_HADOLINT: false # No Dockerfile in this repo
# Configure linters
MARKDOWN_CONFIG_FILE: .github/linters/.markdown-lint.yml
YAML_CONFIG_FILE: .github/linters/.yamllint.yml
# Disable some linters we don't need
VALIDATE_JSCPD: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_CHECKOV: false
# Only lint changed files on PRs
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}