From e9e5d725332861dc40f67abd25cae8147ffde55e Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Thu, 18 Jun 2020 16:40:24 +1000 Subject: [PATCH] Try to make the build fail --- dangerfile.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dangerfile.ts b/dangerfile.ts index 049af9c88610..d90fa65e04e3 100644 --- a/dangerfile.ts +++ b/dangerfile.ts @@ -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