From 711f252036406f6520f7505e4b60f5b52678dc9a Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Wed, 28 Jan 2026 17:28:02 -0500 Subject: [PATCH 1/2] fix(ci): replace broken reusable workflow with inline PR title linting The reusable workflow path was invalid. Replace with inline workflow that validates PR titles against conventional commit format. --- .github/workflows/commit-lint.yml | 32 +++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index 771436b..205cb61 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -1,9 +1,33 @@ -name: Commit Lint +name: Lint Commit Messages on: pull_request: - types: [opened, edited, synchronize, reopened] + types: [opened, edited, reopened, synchronize] + +permissions: + contents: read + pull-requests: read jobs: - commitlint: - uses: CodingWithCalvin/.github/.github/workflows/commit-lint.yml@main + lint-pr-title: + name: Lint PR Title + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install commitlint + run: | + npm install --save-dev @commitlint/cli@18.4.3 @commitlint/config-conventional@18.4.3 + + - name: Validate PR title + env: + PR_TITLE: ${{ github.event.pull_request.title }} + run: | + echo "Validating PR title: $PR_TITLE" + echo "$PR_TITLE" | npx commitlint --verbose From 69e500dfaede762bc3964f09fc251298c8fd52de Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Wed, 28 Jan 2026 17:29:10 -0500 Subject: [PATCH 2/2] fix(ci): rename workflow to match its function --- .github/workflows/commit-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index 205cb61..db3deee 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -1,4 +1,4 @@ -name: Lint Commit Messages +name: Lint PR Title on: pull_request: