Skip to content

[Doc] add new codesnap logo for intelliJ idea #63

[Doc] add new codesnap logo for intelliJ idea

[Doc] add new codesnap logo for intelliJ idea #63

Workflow file for this run

name: Lint Commit Messages
on:
push:
branches:
- '**' # 匹配所有分支
paths-ignore:
- 'docs/**'
- 'README.md'
- 'LICENSE'
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18' # 你可以指定你需要的 Node.js 版本
- name: Install commitlint and config
run: |
npm install @commitlint/cli commitlint-config-wizardoc
- name: Lint Commit Messages
run: |
npx commitlint --from=HEAD~1 --to=HEAD --config commitlint.config.js