Skip to content

Commit

Permalink
feat: commitlint (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler authored Sep 26, 2024
1 parent c3b4a28 commit 3e60ce1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: pr lint
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review, edited]
jobs:
enforce_title:
name: pr lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
with:
node-version: 22

- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/install-dependencies

- name: Use commitlint to check PR title
run: echo "${{ github.event.pull_request.title }}" | bun commitlint

0 comments on commit 3e60ce1

Please sign in to comment.