lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master dd0b2a63 16/30: Work around problem with exec


From: Greg Chicares
Subject: [lmi-commits] [lmi] master dd0b2a63 16/30: Work around problem with executable files under .git in CI builds
Date: Wed, 24 Mar 2021 15:31:09 -0400 (EDT)

branch: master
commit dd0b2a63c74c1320fa3d600abf5a2f4adc15de56
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Work around problem with executable files under .git in CI builds
    
    Somehow a couple of text files are executable in GitHub Actions
    environment, triggering warnings from check_script.sh, used by "make
    check_concinnity", about it.
    
    Avoid these warnings by explicitly turning the executable bit off for
    these files. Later, it could be preferable to address this in
    check_script.sh or check_concinnity target itself instead.
---
 .github/workflows/ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9fe3c6d..41dc7c0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -231,7 +231,11 @@ jobs:
 
       - name: Check concinnity
         if: matrix.autotools != true
-        run: make $coefficiency check_concinnity
+        run: |
+          # Somehow these files are executable and this triggers complaints
+          # from check_script.sh, so avoid them by fixing permissions.
+          chmod -x .git/info/exclude .git/description
+          make $coefficiency check_concinnity
 
       - name: Check physical closure
         if: matrix.autotools != true



reply via email to

[Prev in Thread] Current Thread [Next in Thread]