Skip to content

Commit b03d9b6

Browse files
authored
Update gemini-pr-review.yml
1 parent 6be446e commit b03d9b6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/gemini-pr-review.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,13 @@ jobs:
3232
- name: Debug diff output
3333
run: echo "${{ steps.diff.outputs.DIFF }}"
3434

35-
- name: Base64 encode DIFF
36-
run: echo "INPUT_DIFF=$(echo "${{ steps.diff.outputs.DIFF }}" | base64)" >> $GITHUB_ENV
35+
- name: Base64 encode and set DIFF environment variable
36+
run: |
37+
DELIMITER=$(openssl rand -hex 8)
38+
ENCODED_DIFF=$(echo "${{ steps.diff.outputs.DIFF }}" | base64)
39+
echo "INPUT_DIFF<<$DELIMITER" >> $GITHUB_ENV
40+
echo "$ENCODED_DIFF" >> $GITHUB_ENV
41+
echo "$DELIMITER" >> $GITHUB_ENV
3742
3843
- name: Run Gemini review script
3944
env:

0 commit comments

Comments
 (0)