Skip to content

no cron

no cron #20

---
name: ClangFormat Check
on:
push:
branches:
- main
- releasebranch_*
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_protected != true }}
permissions: {}
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
persist-credentials: false
- uses: DoozyX/clang-format-lint-action@11b773b1598aa4ae3b32f023701bca5201c3817d # v0.17
with:
source: "."
clangFormatVersion: 15
inplace: True
- name: Create and uploads code suggestions to apply
id: diff
uses: ./.github/actions/create-upload-suggestions
with:
tool-name: clang-format
# To keep repo's file structure in formatted changes artifact
extra-upload-changes: .clang-format