Skip to content

chore(deps): pin dependencies #1504

chore(deps): pin dependencies

chore(deps): pin dependencies #1504

name: Conventional Commits check
on:
pull_request:
branches:
- main
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 0
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 16
- name: commitlint (install)
run: |
npm install -g @commitlint/cli @commitlint/config-conventional
echo 'module.exports = {extends: ["@commitlint/config-conventional"]}' > commitlint.config.js
- name: commitlint (run)
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose