Files
mk64/.github/workflows/clang-pr.yml
coco875 817979416f Update clang-pr.yml (#683)
* Update clang-pr.yml

* Update clang-pr.yml

* Update clang-pr.yml

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2024-09-23 10:29:47 -06:00

24 lines
603 B
YAML

name: clang-format PR
on:
push:
branches:
- master
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: Clang Format
branch: clang-format