Skip to content

Update GitHub actions #52

Update GitHub actions

Update GitHub actions #52

Workflow file for this run

name: Clang Format
on:
pull_request:
types:
- closed
jobs:
format:
if: github.event.pull_request.merged == true
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'