forked from apache/camel-k
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|