Skip to content

Commit

Permalink
fix(code-review.yml): 코드 리뷰 파이프라인 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaegii committed Aug 4, 2024
1 parent 4b60674 commit 0b53a4b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@ jobs:
run: |
echo "REVIEW_API_URL=${{ secrets.REVIEW_API_URL }}" >> $GITHUB_ENV
- name: Debug REVIEW_API_URL
run: echo "REVIEW_API_URL=$REVIEW_API_URL"

- name: API calling for CodeReview
id: api_call
run: |
REVIEW_RESPONSE=$(curl -X POST ${REVIEW_API_URL})
echo "Review Response: $REVIEW_RESPONSE"
echo "REVIEW_RESPONSE=$REVIEW_RESPONSE" >> $GITHUB_ENV
if [ -z "$REVIEW_API_URL" ]; then
echo "REVIEW_API_URL is not set"
exit 1
fi
REVIEW_RESPONSE=$(curl -X POST $REVIEW_API_URL)
echo "Review Response: $REVIEW_RESPONSE"
echo "REVIEW_RESPONSE=$REVIEW_RESPONSE" >> $GITHUB_ENV
- name: Get Git Diff
id: git_diff
Expand Down

0 comments on commit 0b53a4b

Please sign in to comment.