We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85939d6 commit 527394fCopy full SHA for 527394f
.github/workflows/deploy.yml
@@ -44,7 +44,7 @@ jobs:
44
- name: Install dependencies
45
run: npm ci # 或 pnpm install / yarn install / bun install
46
- name: Validate PR commits with commitlint
47
- run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
+ run: npx commitlint --from=${{ github.event.before }} --to=${{ github.sha }} --verbose
48
- name: Build with VitePress
49
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
50
- name: Upload artifact
0 commit comments