Skip to content

chore: general project setup #5

chore: general project setup

chore: general project setup #5

Workflow file for this run

name: Lint
on: [pull_request]
permissions:
contents: read
jobs:
conventional-commits:
runs-on: ubuntu-latest
name: Check conventional commit messages
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check commit messages
uses: aevea/[email protected]
- name: Check PR title
uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
editorconfig:
runs-on: ubuntu-latest
name: Check editorconfig
steps:
- uses: actions/checkout@v4
- uses: editorconfig-checker/[email protected]
typos:
runs-on: ubuntu-latest
name: Check spelling
steps:
- uses: actions/checkout@v4
- uses: crate-ci/[email protected]
check-all:
name: Check if all lint jobs succeeded
if: always()
needs:
- conventional-commits
- editorconfig
- typos
runs-on: ubuntu-latest
steps:
- name: Decide whether all needed jobs succeeded
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}