Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: CHECK
name: SOURCE

on:
merge_group:
pull_request:
push:
branches:
- main

jobs:
install:
lint:
name: lint source
runs-on: ubuntu-latest
steps:
- name: checkout repository
Expand All @@ -26,5 +28,5 @@ jobs:
node-version-file: '.nvmrc'
- name: install dependencies
run: pnpm install
- name: lint codebase
- name: lint source
run: pnpm lint
30 changes: 30 additions & 0 deletions .github/workflows/title.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: TITLE

on:
merge_group:
pull_request:
types: [opened, reopened, edited, synchronize]

jobs:
lint:
name: lint title
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup package manager
uses: pnpm/action-setup@v4
with:
run_install: false
- name: install node
uses: actions/setup-node@v4
with:
cache: 'pnpm'
check-latest: true
node-version-file: '.nvmrc'
- name: install dependencies
run: pnpm install
- name: lint title
run: echo "${{ github.event.pull_request.title }}" | pnpm exec commitlint --extends @somehow-digital/commitlint-config/conventional