This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new f0c2169 YETUS-1074. github credential error before big_console text
(#224)
f0c2169 is described below
commit f0c2169f4b1fd11680de5bfc7e18f870417fd73c
Author: Allen Wittenauer <[email protected]>
AuthorDate: Sun Oct 24 07:49:24 2021 -0700
YETUS-1074. github credential error before big_console text (#224)
---
precommit/src/main/shell/plugins.d/github.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/precommit/src/main/shell/plugins.d/github.sh
b/precommit/src/main/shell/plugins.d/github.sh
index a29b700..39a1df2 100755
--- a/precommit/src/main/shell/plugins.d/github.sh
+++ b/precommit/src/main/shell/plugins.d/github.sh
@@ -1059,12 +1059,12 @@ function github_finalreport
return 0
fi
+ big_console_header "Adding GitHub Statuses"
+
if [[ "${GITHUB_WRITE_COMMENT}" == true ]]; then
github_finalreport_as_comment "${result}"
fi
- big_console_header "Adding GitHub Statuses"
-
if [[ "${#GITHUB_AUTH[@]}" -lt 1 ]]; then
yetus_error "ERROR: no credentials provided to write a status."
return 0