Skip to content

Commit

Permalink
Add an error message to better track where we are
Browse files Browse the repository at this point in the history
  • Loading branch information
knl committed Feb 20, 2020
1 parent a8cdb97 commit 76c6ed6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions niv-updater
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76c6ed6

Please sign in to comment.