8000 build(deps-dev): bump @commitlint/cli from 19.8.0 to 19.8.1 · remarkablemark/github-actions-workflows@3060d39 · GitHub
[go: up one dir, main page]

Skip to content

build(deps-dev): bump @commitlint/cli from 19.8.0 to 19.8.1 #647

build(deps-dev): bump @commitlint/cli from 19.8.0 to 19.8.1

build(deps-dev): bump @commitlint/cli from 19.8.0 to 19.8.1 #647

Workflow file for this run

# https://commitlint.js.org/
name: commitlint
on:
push:
pull_request:
# defaults to opened, synchronize, reopened
types: [opened, synchronize, reopened, edited]
jobs:
commitlint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: npm ci
- name: Lint commit message
run: npx commitlint --from=HEAD~1
- name: Lint PR title
if: github.event_name == 'pull_request'
run: |
npx commitlint << EOF
${{ github.event.pull_request.title }}
EOF
- name: Lint string
run: |
echo 'chore: message' | npx commitlint
# https://github.com/remarkablemark/commitlint
- uses: remarkablemark/commitlint@v1
0