Skip to content

chore(deps): bump crate-ci/typos from 1.28.2 to 1.28.4 #4

chore(deps): bump crate-ci/typos from 1.28.2 to 1.28.4

chore(deps): bump crate-ci/typos from 1.28.2 to 1.28.4 #4

Workflow file for this run

permissions:
contents: read
on:
# Run on push to main branch and on pull requests
push:
branches: [main]
pull_request:
concurrency:
# Only run the latest workflow
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: check
jobs:
typos:
name: typos
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Check for typos
uses: crate-ci/typos@v1.28.4
conventional_commit:
name: conventional commit check
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Conventional commit check
uses: cocogitto/cocogitto-action@main
with:
check: true
conventional_commit_pr:
name: PR conventional commit check
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# pick the pr HEAD instead of the merge commit
ref: ${{ github.event.pull_request.head.sha }}
- name: Conventional commit check
uses: cocogitto/cocogitto-action@main
with:
check: true