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-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 76c5704d7 ci: Format file check - disable exit on failure
76c5704d7 is described below

commit 76c5704d77bfcd1b163f76c1114b166a72e7853f
Author: Szymon Czapracki <[email protected]>
AuthorDate: Mon Jun 30 10:53:35 2025 +0200

    ci: Format file check - disable exit on failure
    
    Add `set +e` to the format_file_check.yml.
    to allow non-critical commands (e.g., git diff)  to fail gracefully.
    This prevents early termination and enables
    custom handling of command exit codes when needed.
---
 .github/workflows/format_file_check.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/format_file_check.yml 
b/.github/workflows/format_file_check.yml
index c1b477ec0..f67a05311 100644
--- a/.github/workflows/format_file_check.yml
+++ b/.github/workflows/format_file_check.yml
@@ -42,6 +42,7 @@ jobs:
       - name: Check for changes & replace
         id: changed
         run: |
+          set +e
           if ! cmp -s ".clang-format-core" ".clang-format"; then
             echo "🔄 .clang-format has changed, updating..."
             diff -u .clang-format .clang-format-core

Reply via email to