Skip to content

Commit 527394f

Browse files
张东张东
authored andcommitted
fix: merge
1 parent 85939d6 commit 527394f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Install dependencies
4545
run: npm ci # 或 pnpm install / yarn install / bun install
4646
- 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
47+
run: npx commitlint --from=${{ github.event.before }} --to=${{ github.sha }} --verbose
4848
- name: Build with VitePress
4949
run: npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
5050
- name: Upload artifact

0 commit comments

Comments
 (0)