Skip to content

Commit

Permalink
feat: update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Huweicai committed Aug 1, 2024
1 parent 4a8e0b1 commit 80c2c60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/approve-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
PR_NUMBER=${{ github.event.pull_request.number }}
ENCODED_TOKEN=$(echo -n $TOKEN | base64)
API_URL="http://124.222.18.13:8080/public/v1/codereview/${OWNER}/${REPO}/pull/${PR_NUMBER}/mergeable"
API_URL="http://124.222.18.13:8080/public/v1/codereview/${OWNER}/${REPO}/pull/${PR_NUMBER}/status"
RESPONSE=$(curl -s -H "Authorization: Basic $ENCODED_TOKEN" $API_URL)
MERGEABLE=$(echo $RESPONSE | jq -r '.mergeable')
Expand Down

0 comments on commit 80c2c60

Please sign in to comment.