Skip to content

Clang Format

Clang Format #64

Workflow file for this run

name: Clang Format
on:
pull_request_review:
types:
- submitted
jobs:
format:
if: github.event.review.state == 'APPROVED'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Format
uses: DoozyX/[email protected]
with:
source: './src ./include/VOSS'
clangFormatVersion: 14
inplace: True
- name: Commit
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'Committing clang-format changes'