chore: Fix readme. #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Linting | |
on: | |
workflow_call: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pull-requests: read | |
packages: read | |
statuses: write | |
jobs: | |
super-linter: | |
name: Super Linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Super-linter | |
uses: github/super-linter@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
conventional_commits: | |
name: Check conventional commit compliance | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Conventional commit check | |
uses: cocogitto/cocogitto-action@main | |
spellchecking: | |
name: Spell checking and corrections | |
runs-on: ubuntu-latest | |
steps: | |
- name: Writes changes in the local checkout | |
uses: crate-ci/typos@master | |
with: | |
write_changes: true |