name: ✅ Standards Check on: push: pull_request: workflow_dispatch: # 允许手动触发 concurrency: group: standards-${{ github.repository }}-${{ github.ref }} cancel-in-progress: true # ========================================== # 🔧 配置区域 - 标准校验参数 # ========================================== env: COMMIT_LINT_REQUIRE_EMOJI: "1" jobs: commit-message: name: 🔍 Commit message lint runs-on: ubuntu-22.04 steps: - name: 📥 检出代码 uses: actions/checkout@v4 with: fetch-depth: 0 - name: 🧪 Lint commit message / PR title run: | python3 .gitea/ci/commit_message_lint.py