From 76c6ed6e735c4ef44ea51fd4def030753d12d1a7 Mon Sep 17 00:00:00 2001 From: Nikola Knezevic Date: Thu, 20 Feb 2020 18:53:30 +0100 Subject: [PATCH] Add an error message to better track where we are --- niv-updater | 1 + 1 file changed, 1 insertion(+) diff --git a/niv-updater b/niv-updater index b2c4fdb..4f08058 100755 --- a/niv-updater +++ b/niv-updater @@ -225,6 +225,7 @@ createPullRequestsOnUpdate() { -f -F "$message" \ -b "$INPUT_PULL_REQUEST_BASE" \ -h "$branch_name" >/dev/null; then + echo "::error::could not create a PR" # try to delete the branch hub api -XDELETE "/repos/$GITHUB_REPOSITORY/git/refs/heads/$branch_name" >/dev/null || true exit 1