Skip to content

cronjob: fix red new version box injection and script documentation #1281

cronjob: fix red new version box injection and script documentation

cronjob: fix red new version box injection and script documentation #1281

---
name: ClangFormat Check
on:
push:
branches:
- grass[0-9]+
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- uses: DoozyX/clang-format-lint-action@11b773b1598aa4ae3b32f023701bca5201c3817d # v0.17
with:
source: "."
clangFormatVersion: 17
inplace: True
- name: Create and uploads code suggestions to apply
id: diff
uses: OSGeo/grass/.github/actions/create-upload-suggestions@main
with:
tool-name: clang-format
# To keep repo's file structure in formatted changes artifact
extra-upload-changes: .clang-format