Skip to content

Commit

Permalink
fix: debug api response
Browse files Browse the repository at this point in the history
  • Loading branch information
botanical committed Jan 14, 2025
1 parent 2fd8e97 commit beffb19
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,20 @@ jobs:
-H "Accept: application/vnd.github+json" \
https://api.github.com/app/installations)
INSTALLATION_ID=$(echo $RESPONSE | jq -r '.[0].id')
echo "installation_id=$INSTALLATION_ID" >> $GITHUB_ENV
echo $RESPONSE
# INSTALLATION_ID=$(echo $RESPONSE | jq -r '.[0].id')
# echo "installation_id=$INSTALLATION_ID" >> $GITHUB_ENV
# TOKEN_RESPONSE=$(curl -s -X POST \
# -H "Authorization: Bearer $JWT" \
# -H "Accept: application/vnd.github+json" \
# https://api.github.com/app/installations/$INSTALLATION_ID/access_tokens)
# TOKEN=$(echo $TOKEN_RESPONSE | jq -r '.token')
# echo "token=$TOKEN" >> $GITHUB_ENV
- name: Clone veda-config repository
run: |
git clone https://github.com/${{ env.VEDA_CONFIG_REPO }}.git
git clone https://x-access-token:${{ env.token }}@github.com/${{ env.VEDA_CONFIG_REPO}}.git target-repo
ls
- name: Copy untracked mdx files to veda-config
Expand Down

0 comments on commit beffb19

Please sign in to comment.