Skip to content

chore(deps): update dependency vite to v5 - autoclosed #1082

chore(deps): update dependency vite to v5 - autoclosed

chore(deps): update dependency vite to v5 - autoclosed #1082

name: Conventional Commits
on: [pull_request]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- run: echo "fetch_depth=$(( $commits + 1 ))" >> $GITHUB_ENV
env:
commits: ${{ github.event.pull_request.commits }}
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: ${{ env.fetch_depth }}
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
- run: npm install -g @commitlint/cli @commitlint/config-conventional
- run: npx commitlint --from "$from" --to "$to" --verbose -x "$extends"
env:
from: ${{ github.event.pull_request.base.sha }}
to: ${{ github.event.pull_request.head.sha }}
extends: "@commitlint/config-conventional"