Skip to content

chore(deps-dev): bump @archoleat/semantic-release-define-config from 1.1.13 to 1.1.14 #204

chore(deps-dev): bump @archoleat/semantic-release-define-config from 1.1.13 to 1.1.14

chore(deps-dev): bump @archoleat/semantic-release-define-config from 1.1.13 to 1.1.14 #204

Workflow file for this run

name: Commit Lint
on:
pull_request:
push:
jobs:
commit-lint:
name: Commit Lint
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up PNPM
uses: pnpm/action-setup@v4
- name: Set Up NodeJS
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: lts/*
- name: Install Dependencies
run: pnpm i
- name: Extract Commit Message (Push)
if: ${{ github.event_name }} == 'push'
run: |
git log -1 --pretty=%B > commit_message.txt
- name: Extract Commit Message (Pull Request)
if: ${{ github.event_name }} == 'pull_request'
run: |
git show -s --format=%B > commit_message.txt
- name: Lint
run: |
COMMIT_MESSAGE=$(cat commit_message.txt)
echo "$COMMIT_MESSAGE" | pnpm commitlint