From a7c999e03ee4fed3d1ce5be4970ad82ba4762d75 Mon Sep 17 00:00:00 2001 From: Carlos Villela Date: Wed, 25 Mar 2026 18:37:03 -0700 Subject: [PATCH] fix(ci): lint only PR title since repo is squash-merge only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Individual commit messages are discarded at squash-merge — only the PR title lands in main and drives changelog generation. Remove the per-commit lint step and keep the PR title check. Also drop fetch-depth: 0 (no longer walking commit history) and fix a pre-existing markdownlint MD032 in README.md. --- .github/workflows/commit-lint.yaml | 11 +---------- README.md | 1 + 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/commit-lint.yaml b/.github/workflows/commit-lint.yaml index dec431f75e..b9cc943b6d 100644 --- a/.github/workflows/commit-lint.yaml +++ b/.github/workflows/commit-lint.yaml @@ -21,8 +21,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - with: - fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v6 @@ -33,14 +31,7 @@ jobs: - name: Install dependencies run: npm install --ignore-scripts - - name: Lint commits - if: github.event.action != 'edited' - env: - FROM_SHA: ${{ github.event.pull_request.base.sha }} - TO_SHA: ${{ github.event.pull_request.head.sha }} - run: npx commitlint --from "$FROM_SHA" --to "$TO_SHA" --verbose - - - name: Lint PR title (squash-merge path) + - name: Lint PR title env: PR_TITLE: ${{ github.event.pull_request.title }} run: printf '%s\n' "$PR_TITLE" | npx commitlint --verbose diff --git a/README.md b/README.md index 2d7ecbaf81..5c4b5cadfa 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ On a fresh macOS machine, install the prerequisites in this order: 3. Run the NemoClaw installer. This avoids the two most common first-run failures on macOS: + - missing developer tools needed by the installer and Node.js toolchain - Docker connection errors when no supported container runtime is installed or running