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

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 410d17b5a fix(ci): badge permission
410d17b5a is described below

commit 410d17b5a9415f6962a378ee618e9048e846fb9c
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Mon Aug 26 09:47:44 2024 +0200

    fix(ci): badge permission
---
 .github/actions/automatic-updates/action.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/actions/automatic-updates/action.yml 
b/.github/actions/automatic-updates/action.yml
index 6672b9a93..59e64b735 100644
--- a/.github/actions/automatic-updates/action.yml
+++ b/.github/actions/automatic-updates/action.yml
@@ -77,7 +77,8 @@ runs:
         grep -o -P '(?<=\(statements\))(.+)(?=%)' coverage.mod.out | xargs > 
coverage
         touch badge.out
         wget https://gobinaries.com/github.com/AlexBeauchemin/[email protected] 
-O gobadge
-        gobadge -filename=coverage -target=badge.out
+        chmod +x gobadge
+        ./gobadge -filename=coverage -target=badge.out
 
     - name: Convert badge to adoc
       shell: bash
@@ -96,7 +97,7 @@ runs:
       run: |
         git config --local user.email "$CI_EMAIL"
         git config --local user.name "$CI_USER"
-        git add -A -f && git commit -m 'chore: nightly automatic updates' || 
echo "No nightly automatic updates changes to commit"
+        git add -a -f && git commit -m 'chore: nightly automatic updates' || 
echo "No nightly automatic updates changes to commit"
         git push 
"https://$CI_USER:[email protected]/$GITHUB_REPOSITORY.git"; HEAD:${{ 
inputs.branch-ref }} || echo "No nightly automatic updates changes to push"
 
     # Give it a rest to avoid hitting Github API rate limit

Reply via email to