ci: log number of merged PRs into main #83
BugBot Review
BugBot completed review and found 1 potential issue
Request ID: serverGenReqId_a3f6481e-833c-4bd0-a34f-80b832e5518c
Details
Bug: Bash Arithmetic Error with Null Values
The workflow fails with a bash arithmetic error when attempting to increment the success count for an existing date entry. This occurs because the jq expression, which retrieves the current success count from the spreadsheet, returns the string "null" if the corresponding cell in column C is empty or contains non-numeric data. Bash's arithmetic expansion cannot process the string "null", leading to a syntax error. The script should default the count to 0 if it's "null" before performing the increment.
.github/workflows/log-merge-group-success.yml#L42-L47
github-tools/.github/workflows/log-merge-group-success.yml
Lines 42 to 47 in 4db842b
Was this report helpful? Give feedback by reacting with 👍 or 👎