name: Lint
on:
pull_request:
branches:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Conventional commits check
# Latest-tag range only: full history still has pre-v0.14 `docs+bench:`
# and untyped merges. Git default `Revert "..."` subjects after v0.14.7
# are accepted by the script (cocogitto rejects them).
run: bash scripts/check_conventional_commits.sh
- name: Audit for large files
uses: HaoZeke/large-file-auditor@v0.1.0
with:
file-size-threshold: "1M"