diff --git a/.github/workflows/gemini-review.yml b/.github/workflows/gemini-review.yml index b7e0dc0..79a5bc2 100644 --- a/.github/workflows/gemini-review.yml +++ b/.github/workflows/gemini-review.yml @@ -44,17 +44,13 @@ jobs: PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }} RAW_COMMENT: ${{ github.event.comment.body || '' }} run: | - # 1. Extract additional context from the comment (if any) + # Extract additional context from the comment (if any) ADDITIONAL_CONTEXT="None" if [[ "$RAW_COMMENT" == *"@gemini-cli /review"* ]]; then ADDITIONAL_CONTEXT=$(echo "$RAW_COMMENT" | sed 's/^@gemini-cli \/review//' | xargs) [ -z "$ADDITIONAL_CONTEXT" ] && ADDITIONAL_CONTEXT="None" fi - - # Export variables so envsubst can access them export REPOSITORY PULL_REQUEST_NUMBER ADDITIONAL_CONTEXT - - # 2. Safely read files and set GitHub Outputs { echo "settings<