Skip to content

Commit

Permalink
fix 0 commit
Browse files Browse the repository at this point in the history
Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Dec 20, 2024
1 parent 3a41cef commit fb5b5a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/notify-irc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ COMMIT_TITLES=$(echo "$COMMITS_JSON" | jq -r '.[0:8][] | "\(.id[0:7]) - \(.messa

# Count the commits
COMMIT_COUNT=$(echo "$COMMITS_JSON" | jq -r 'length')
COMMIT_COUNT=${COMMIT_COUNT:-0} # Default to 0 if jq fails

# Format the message
if [ "$COMMIT_COUNT" -eq 1 ]; then
Expand Down

0 comments on commit fb5b5a4

Please sign in to comment.