Skip to content

Pvcode + Cvode improvements #559

Pvcode + Cvode improvements

Pvcode + Cvode improvements #559

Workflow file for this run

name: clang-format-command
on:
pull_request:
paths:
- '**.cxx'
- '**.hxx'
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
# Checkout the pull request branch, also include all history
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
# This also installs git-clang-format
- name: Install clang-format
run: sudo apt install clang-format
- name: Run clang-format
id: format
run: git clang-format origin/${{ github.base_ref }}
- name: Commit to the PR branch
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Apply clang-format changes"