Skip to content

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

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 #1059

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.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