Skip to content

ci: bump github/codeql-action/upload-sarif from 4.37.1 to 4.37.3 #457

ci: bump github/codeql-action/upload-sarif from 4.37.1 to 4.37.3

ci: bump github/codeql-action/upload-sarif from 4.37.1 to 4.37.3 #457

name: EditorConfig check
# Enforces the rules in `.editorconfig` (UTF-8, LF line endings,
# 2-space indent, no trailing whitespace except in Markdown). Cheap
# CI gate that catches editor-induced whitespace drift before review.
on:
push:
branches: [main]
pull_request:
branches: [main]
merge_group:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
editorconfig-check:
name: EditorConfig check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install editorconfig-checker
# The action only adds the binary to PATH — it does not run it.
# The actual check is in the next step.
uses: editorconfig-checker/action-editorconfig-checker@840e866d93b8e032123c23bac69dece044d4d84c # v2.2.0
- name: Run editorconfig-checker
# Honours .editorconfig + .editorconfig-checker.json at the repo
# root. The config disables indent-size (which trips on visual-
# alignment patterns in YAML continuations, JSDoc comments, and
# nested markdown lists) while keeping LF/UTF-8/trailing/final-
# newline checks.
run: editorconfig-checker