Skip to content

Commit 713ec2f

Browse files
committed
add debug prints
1 parent d05a843 commit 713ec2f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
8181
cd docs
8282
83+
git remote -v
84+
8385
# Setup the committers identity.
8486
#git config --global user.email "sdk@temporal.io"
8587
#git config --global user.name "Temporal CLI"
@@ -90,11 +92,17 @@ jobs:
9092
git config user.email "${{ steps.get_user.outputs.git_email }}"
9193
git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/temporalio/documentation.git
9294
95+
# check token permissions on documentation repo
96+
curl -H "Authorization: token ${{ steps.generate_token.outputs.token }}" \
97+
https://api.github.com/repos/temporalio/documentation | jq '.permissions'
98+
git ls-remote https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/temporalio/documentation.git
99+
93100
git checkout -b $BRANCH_NAME
94101
cp ../cli/temporalcli/docs/*.mdx docs/cli/
95102
git add .
96103
# TODO: mention CLI release version
97104
git commit -m "CLI docs update, autogenerated on CLI release $LATEST_TAG, ${{ github.ref_name }}"
105+
git remote -v
98106
git push origin "$BRANCH_NAME"
99107
100108
gh pr create \

0 commit comments

Comments
 (0)