Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

build(deps): bump actions/checkout from 2.3.1 to 5.0.1 #533

build(deps): bump actions/checkout from 2.3.1 to 5.0.1

build(deps): bump actions/checkout from 2.3.1 to 5.0.1 #533

name: Conventional Commits Checker
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
fetch-depth: 0
- name: Setup NodeJS and NPM
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
with:
node-version: 16.13.2
- name: Add @commitlint
run: npm install -g @commitlint/cli @commitlint/config-conventional
- name: Lint PR and commits
env:
TITLE: ${{ github.event.pull_request.title }}
COMMITS: ${{ github.event.pull_request.commits }}
run: bin/conventional-commits.sh "$TITLE" $COMMITS