Skip to content

Apply clang-tidy fixes #14

Apply clang-tidy fixes

Apply clang-tidy fixes #14

Workflow file for this run

name: Apply clang-tidy fixes
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup
run: |
sudo apt-get update
sudo apt-get install -y clang-tidy-15 libboost-dev
- name: Check
run: |
cmake --preset linux-ci-build-with-clang-tidy
cd build/linux-ci-build-with-clang-tidy
cmake --build . -j1
- uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: clang-tidy-fixes-${{ github.ref_name }}
delete-branch: true
commit-message: 'Automated fixes by clang-tidy'
title: 'Automated fixes by clang-tidy'
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
body: |
This is an automated PR generated by the [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
Please review the changes before merging.