Skip to content

build(deps): bump the github-actions group across 1 directory with 5 updates #651

build(deps): bump the github-actions group across 1 directory with 5 updates

build(deps): bump the github-actions group across 1 directory with 5 updates #651

Workflow file for this run

name: PR Title Check
permissions:
contents: read
on:
pull_request:
branches: [main]
types: [opened, edited, synchronize]
jobs:
title_check:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
- name: Install commitlint
run: npm install --save-dev @commitlint/{config-conventional,cli}
- name: Lint PR title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: echo "$PR_TITLE" | npx commitlint