Skip to content

Sean parent/macro utilities #146

Sean parent/macro utilities

Sean parent/macro utilities #146

name: auto-clang-format
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: DoozyX/[email protected]
with:
source: "."
exclude: "./third_party ./external"
extensions: "h,cpp,hpp"
clangFormatVersion: 18
inplace: True
- uses: EndBug/add-and-commit@v9
with:
author_name: Clang Robot
author_email: [email protected]
message: ":art: Committing clang-format changes"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}