Skip to content

Commit

Permalink
chore(*): replaced original commitlint gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyoshi.guo committed May 1, 2024
1 parent 36f9b11 commit 6003f4a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm install @commitlint/config-conventional
- uses: JulienKode/pull-request-name-linter-action@v0.5.0
- name: Install commitlint
run: |
npm install conventional-changelog-conventionalcommits
npm install commitlint@latest
- name: Validate PR title with commitlint
if: github.event_name == 'pull_request'
run: echo '${{ github.event.pull_request.title }}' | npx commitlint --verbose

0 comments on commit 6003f4a

Please sign in to comment.