From df62f75918bc464c8f1bd131b625fd7ddd5451fd Mon Sep 17 00:00:00 2001 From: jmattaa Date: Tue, 5 Nov 2024 19:27:23 +0100 Subject: [PATCH] update clang-format check Signed-off-by: jmattaa --- .github/workflows/check-format.yml | 10 +++++++--- .github/workflows/makefile.yml | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-format.yml b/.github/workflows/check-format.yml index 3a9ba6a..f91411a 100644 --- a/.github/workflows/check-format.yml +++ b/.github/workflows/check-format.yml @@ -1,5 +1,9 @@ -name: clang-format CheckV -on: [push, pull_request] +name: clang-format Check +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: clang-format: @@ -7,7 +11,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install clang-format run: sudo apt-get install -y clang-format diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index f54722a..5348f5c 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -14,7 +14,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Run make run: make