This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 72b28c25e5a64389a6cd2123b56d6e672f6a2bae
Author: Szymon Czapracki <[email protected]>
AuthorDate: Thu Jun 12 16:11:14 2025 +0200

    ci: Select shell & options for style-check workflow
    
    Use `bash` explicitly for the formatting check
    step for better shell compatibility
    
    Set bash +e setting so scripts won't exit
    on cmd non-zero status.
---
 .github/workflows/check_compliance.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/check_compliance.yml 
b/.github/workflows/check_compliance.yml
index 703cb1ccb..c5a15f8aa 100644
--- a/.github/workflows/check_compliance.yml
+++ b/.github/workflows/check_compliance.yml
@@ -42,7 +42,9 @@ jobs:
           sudo apt-get install -y clang-format
 
       - name: Check formatting (diff only)
+        shell: bash
         run: |
+          set +e
           git diff -U0 origin/master...HEAD > diff.patch
           clang-format-diff -p1 -style=file < diff.patch > clang-fmt.patch
           if [ -s clang-fmt.patch ]; then

Reply via email to