Apply clang-tidy fixes #943
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Apply clang-tidy fixes | |
on: | |
schedule: | |
- cron: '0 0 * * 0' | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y clang-tidy-18 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@v7 | |
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. | |