Merge pull request #2847 from openmv/update_workflow

github/workflows/codeformat: Fix workflow.
This commit is contained in:
Ibrahim Abdelkader 2025-09-18 23:05:37 +03:00 committed by GitHub
commit 3a79080713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,9 @@ on:
branches: branches:
- 'master' - 'master'
paths: paths:
- '**/*.{c,cc,h}' - '**/*.c'
- '**/*.cc'
- '**/*.h'
pull_request: pull_request:
types: types:
@ -16,7 +18,9 @@ on:
branches: branches:
- 'master' - 'master'
paths: paths:
- '**/*.{c,cc,h}' - '**/*.c'
- '**/*.cc'
- '**/*.h'
jobs: jobs:
formatting-check: formatting-check:
@ -27,6 +31,7 @@ jobs:
with: with:
submodules: false submodules: false
persist-credentials: false persist-credentials: false
fetch-depth: 0
- name: '🔎 Check code formatting' - name: '🔎 Check code formatting'
uses: openmv/uncrustify-action@v1 uses: openmv/uncrustify-action@v1