Skip to content

Commit b178621

Browse files
committed
ci: validate conventional commit conformance for PRs
Checks that PR titles abide by conventional commit format.
1 parent a2450dc commit b178621

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build_and_test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ jobs:
8080
--gcov-ignore-parse-errors negative_hits.warn \
8181
--gcov-ignore-parse-errors suspicious_hits.warn
8282
83-
lint:
84-
runs-on: ubuntu-24.04-32core
83+
code-lint:
84+
runs-on: ubuntu-latest
8585
strategy:
8686
matrix:
8787
python-version: [ "3.10" ]
@@ -108,3 +108,9 @@ jobs:
108108
sudo apt-get update && sudo apt-get install -y clang-format
109109
clang-format --version
110110
find src -name '*.cpp' -o -name '*.h' | xargs clang-format --dry-run --Werror
111+
112+
pr-lint:
113+
runs-on: ubuntu-latest
114+
steps:
115+
- name: Verify Conventional Commit In Pull Requests
116+
uses: ytanikin/pr-conventional-commits@1.5.1

0 commit comments

Comments
 (0)