Skip to content

Commit

Permalink
Try to make the build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Jun 18, 2020
1 parent b2a8a8b commit e9e5d72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ if headRepoName != baseRepoName {
console.log("\033[1;31mRunning from a forked repo. Danger won't be able to post comments on the main repo unless GitHub Actions are enabled on the fork, too.\033[0m")
// I wonder if this sytax works too for colored output and/or reporting?
console.log("##[warning]Running from a forked repo. Danger won't be able to post comments on the main repo unless GitHub Actions are enabled on the fork, too.\033[0m")
// If I use error, will the build fail?
console.log("##[error]Running from a forked repo. Danger won't be able to post comments on the main repo unless GitHub Actions are enabled on the fork, too.\033[0m")
}

// I'm not expecting this comment to be posted because the forked repo where
Expand Down

0 comments on commit e9e5d72

Please sign in to comment.