Skip to content

WIP ci: build plugins #30

WIP ci: build plugins

WIP ci: build plugins #30

Workflow file for this run

---
name: super-linter
on:
pull_request:
branches: [main]
permissions: {}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout with history
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Work around super-linter
shell: bash
run: |
# Work-around for config file detection
cp .github/linters/.commitlintrc.yml .commitlintrc.yml
# Work-around for SHA detection
# https://github.com/super-linter/super-linter/issues/6316#issuecomment-2510205626
if [[ '${{ github.event_name }}' == 'pull_request' ]]; then
echo 'GITHUB_BEFORE_SHA=${{ github.event.pull_request.base.sha }}' >> "${GITHUB_ENV}"
fi
- name: Run super-linter
uses: super-linter/super-linter/slim@v7.2.0
env:
# super-linter configurations
MULTI_STATUS: false
SUPPRESS_POSSUM: true
VALIDATE_ALL_CODEBASE: false
# language configurations
VALIDATE_CLANG_FORMAT: true
VALIDATE_MARKDOWN: true
VALIDATE_YAML: true
# misc configurations
ENFORCE_COMMITLINT_CONFIGURATION_CHECK: true
VALIDATE_GIT_COMMITLINT: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_GITLEAKS: true