Skip to content

Enhance gitlab-webhook.sh: add verbose option and improve error handling #456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix log message formatting for no processed projects in gitlab-webhoo…
…k.sh
  • Loading branch information
hasit committed Jul 16, 2025
commit ffee2df1c3a26b2ba7ab62b543e540ddcb437f5f
2 changes: 1 addition & 1 deletion static/code/gitlab-webhook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ echo "[INFO] Finished processing all projects" >&2
total_projects=$((${#WEBHOOK_PROJECTS[@]} + ${#EXISTING_WEBHOOK_PROJECTS[@]}))

if [[ $total_projects -eq 0 ]]; then
echo "[INFO] No projects were processed."
echo "[INFO] No projects were processed"
else
if [[ ${#WEBHOOK_PROJECTS[@]} -gt 0 ]]; then
if [[ "$VERBOSE" == "true" ]]; then
Expand Down