* Create clang-pr.yml

* Update clang-pr.yml

* Update osCreateMesgQueue.c

* Update osCreateMesgQueue.c

* Update clang-pr.yml

* Update clang-pr.yml

* Update clang-format.yml
This commit is contained in:
coco875 2024-09-12 00:30:23 +02:00 committed by GitHub
parent 16c5c33a85
commit bf9f8e37c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 1 deletions

View File

@ -3,7 +3,7 @@ on: [push]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
path:

20
.github/workflows/clang-pr.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: clang-format PR
on: [push]
jobs:
formatting-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Dependance
run: |
sudo apt install clang-format make
- name: Run clang-format style check for C/C++/Protobuf programs.
run: |
clang-format --version
python tools/format.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: clang format
title: Applid Clang format on the branch
branch: clang-format