Closed eamon0989 closed 1 year ago
CI is running/has finished running commands for commit 2bee1feaaf3d0f4a49334eeb88c52c9c4eda0255. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
Sent with 💌 from NxCloud.
Warnings | |
---|---|
:warning: | :exclamation: checkboxes (1) |
(1) : There are 3 empty checkboxes, have you updated the checklist?
Generated by :no_entry_sign: dangerJS against 2bee1feaaf3d0f4a49334eeb88c52c9c4eda0255
Kudos, SonarCloud Quality Gate passed!
Description
With the previous PR - https://github.com/s1seven/schema-tools/pull/186, we introduced danger.js to automate some parts of code reviews. It works as expected, but when merging to main it also runs and throws a type error as the
danger.git
object is not populated (it is only populated for PRs). This PR fixes the failing CI on merge to main by adding a condition that it only run when branch!= main
. It also adds some extra protections todangerfile.ts
.Type of change
Checklist: