Skip to content

Commit

Permalink
Merge pull request #47 from rak-phillip/bugfix/backport-merge-conflict
Browse files Browse the repository at this point in the history
[Workflow] Trying to capture an error message
  • Loading branch information
rak-phillip authored Feb 27, 2024
2 parents 8e8f157 + 2802f37 commit b4323b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/port-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
if ! git am -3 "$PATCH_FILE" 2>error.log; then
ERROR_MESSAGE=$(< error.log)
FORMATTED_ERROR_MESSAGE=$(printf "\n```\n%s\n```" "$ERROR_MESSAGE")
FORMATTED_ERROR_MESSAGE=$(printf "\n\`\`\`\n%s\n\`\`\`" "$ERROR_MESSAGE")
gh issue comment ${ORIGINAL_ISSUE_NUMBER} --body "Not creating port PR, there was an error running git am -3: $FORMATTED_ERROR_MESSAGE"
else
git push origin $BRANCH
Expand Down

0 comments on commit b4323b0

Please sign in to comment.