Skip to content

Commit 812aa56

Browse files
committed
new coding check version
updated the submodule to the latest extended the action workflow, now you can add custom ignore files
1 parent 39eec49 commit 812aa56

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/coding-convention-tool

.github/workflows/00-Check-Code-Convention.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
name: 00-Check-Code-Convention
22
on:
3-
push:
4-
branches-ignore:
5-
- main
6-
- master
7-
- "tests/**"
83
pull_request:
94
branches:
105
- main
@@ -62,6 +57,12 @@ jobs:
6257
sudo cp ./.github/coding-convention-tool/tools/uncrustify/uncrustify.cfg ./uncrustify/uncrustify.cfg
6358
echo "Install clang-tidy"
6459
sudo apt-get install clang-tidy
60+
- name: Apply custom formatting configuration
61+
run: |
62+
echo "Applying custom formatting configuration..."
63+
chmod +x ./.github/coding-convention-tool/project_custom_config_handler.sh
64+
./.github/coding-convention-tool/project_custom_config_handler.sh
65+
6566
- name: Run test
6667
run: |
6768
pre-commit install --config .github/coding-convention-tool/.pre-commit-config.yaml

0 commit comments

Comments
 (0)