Skip to content

build: add title case linter #107

build: add title case linter

build: add title case linter #107

Workflow file for this run

---
name: Lint
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
jobs:
dedicated-linter:
name: Dedicated Linters
runs-on: ubuntu-latest
strategy:
matrix:
linter:
- awesome-lint
- textlint-titlecase
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@just
- run: just configure
shell: bash
- run: just ${{ matrix.linter }}
shell: bash
general-linter:
name: General Linters
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Lint Awesome Actions
uses: super-linter/super-linter@v7
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_JSON_PRETTIER: false
VALIDATE_GIT_COMMITLINT: false