From 63706ef3c254dcc60e45628c3bdac8e5f83353a4 Mon Sep 17 00:00:00 2001 From: g-husam Date: Thu, 22 Jan 2026 16:45:17 -0500 Subject: [PATCH 1/2] ci: validate conventional commit conformance for PRs Checks that PR titles abide by conventional commit format. --- .github/workflows/build_and_test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index e6548b1..e340627 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -80,8 +80,8 @@ jobs: --gcov-ignore-parse-errors negative_hits.warn \ --gcov-ignore-parse-errors suspicious_hits.warn - lint: - runs-on: ubuntu-24.04-32core + code-lint: + runs-on: ubuntu-latest strategy: matrix: python-version: [ "3.10" ] @@ -108,3 +108,9 @@ jobs: sudo apt-get update && sudo apt-get install -y clang-format clang-format --version find src -name '*.cpp' -o -name '*.h' | xargs clang-format --dry-run --Werror + + pr-lint: + runs-on: ubuntu-latest + steps: + - name: Verify Conventional Commit In Pull Requests + uses: ytanikin/pr-conventional-commits@1.5.1 From ea0c531e9274d066564dcb1a270e18ce6e5b645a Mon Sep 17 00:00:00 2001 From: g-husam Date: Thu, 22 Jan 2026 16:47:58 -0500 Subject: [PATCH 2/2] add task_types --- .github/workflows/build_and_test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index e340627..df31b37 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -80,7 +80,7 @@ jobs: --gcov-ignore-parse-errors negative_hits.warn \ --gcov-ignore-parse-errors suspicious_hits.warn - code-lint: + lint-code: runs-on: ubuntu-latest strategy: matrix: @@ -109,8 +109,10 @@ jobs: clang-format --version find src -name '*.cpp' -o -name '*.h' | xargs clang-format --dry-run --Werror - pr-lint: + lint-conv-commit: runs-on: ubuntu-latest steps: - name: Verify Conventional Commit In Pull Requests uses: ytanikin/pr-conventional-commits@1.5.1 + with: + task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'