Skip to content

fix: SonarCloud issues and OpenSource documentations #28

fix: SonarCloud issues and OpenSource documentations

fix: SonarCloud issues and OpenSource documentations #28

name: Commit Check
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Check commits
run: |
git fetch --prune --unshallow
git log origin/main..HEAD --pretty=format:%s | npx commitlint --from=HEAD --to=origin/main