Skip to content

chore(deps): update actions/checkout digest to 11bd719 #3827

chore(deps): update actions/checkout digest to 11bd719

chore(deps): update actions/checkout digest to 11bd719 #3827

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: ${{ env.fetch_depth }}
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # 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"