Skip to content

Commit

Permalink
Merge pull request #39 from stackhpc/fix-gh-pr-fail
Browse files Browse the repository at this point in the history
Fail if GitHub PR creation fails
  • Loading branch information
markgoddard authored Sep 27, 2023
2 parents 3632586 + deba199 commit 564f975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ function github_pull_request {
--user "${KAYOBE_AUTOMATION_PR_GITHUB_USER}:${KAYOBE_AUTOMATION_PR_AUTH_TOKEN}" \
--header "Accept: application/vnd.github.v3+json" \
--header "Content-Type: application/json" \
--fail \
--data "${body}" | jq "."

log_info "Pull request created sucessfully"
Expand Down

0 comments on commit 564f975

Please sign in to comment.