Skip to content

Commit 4fe8d4e

Browse files
committed
Add echo statement for prompt in Code Review step for debugging
1 parent 7fb162e commit 4fe8d4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/code-review.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
run: |
5656
DIFF=$(cat sanitized_diff.txt)
5757
PROMPT=$(echo "Please review the following code changes, summarize the changes, and provide feedback:\n\n$DIFF\n\nFeedback:" | jq -sR .)
58+
echo "PROMPT:\n$PROMPT"
59+
# Set the prompt as an environment variable for later steps
5860
echo "prompt=$PROMPT" >> $GITHUB_ENV
5961
shell: /usr/bin/bash -e {0}
6062

0 commit comments

Comments
 (0)