Skip to content

Auto-commit clang format #242

Auto-commit clang format

Auto-commit clang format #242

Workflow file for this run

name: Check Format
on:
push:
branches:
- 'trunk'
pull_request:
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- name : Install just
uses: extractions/setup-just@v2
with:
just-version: 1.26.0
- uses: actions/checkout@v4
- name: Run auto-formatting on the C++
run: |
just install-denv init format-cpp --verbose -Werror
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git commit -am "Apply clang-format"
git push