dev-manager-tauri/.gitea/workflows/pr-check.yml
lanrtop 1c3133c1dd
All checks were successful
Push & PR Check / check (push) Successful in 54s
ci: 服务端 commit message 校验(Conventional + Feature-Confirmed trailer)
lefthook 在 agent 沙箱(DSH workspace-write)内静默失效的机器层硬补偿,
dsh-takeover-readiness T2。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-11 21:16:01 +09:00

40 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 前端类型检查 + 单元测试push master/feat/* 或向 master 发 PR 时触发)
name: Push & PR Check
on:
push:
branches: [master, 'feat/**']
pull_request:
branches: [master]
jobs:
check:
runs-on: windows
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
# 服务端 commit message 校验lefthook 在 agent 沙箱内会静默失效,此为机器层硬补偿)
- name: Commit message 校验
env:
EVENT_NAME: ${{ github.event_name }}
BEFORE_SHA: ${{ github.event.before }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.sha }}
run: node .gitea/scripts/check-commit-msg.mjs
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck
- run: pnpm test