Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Feb 13, 2024
1 parent 4509af4 commit 2929549
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Commit Message Lint

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

jobs:
commitlint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.16.1

- name: Install dependencies
run: npm install @commitlint/{config-conventional,cli}

- name: Lint commit messages
run: npx commitlint --from=main --to=$GITHUB_SHA --verbose

0 comments on commit 2929549

Please sign in to comment.