Skip to content

chore: address review comments #478

chore: address review comments

chore: address review comments #478

Workflow file for this run

name: Lint Commit Messages
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
# See: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012
push:
branches:
- main
- gh-pages
pull_request:
branches:
- main
- gh-pages
workflow_dispatch:
inputs:
pr_number:
description: "PR number to test (for fork PRs)"
required: true
type: string
permissions:
contents: read
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: ${{ inputs.pr_number && format('refs/pull/{0}/head', inputs.pr_number) || '' }}
fetch-depth: 0
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6