File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,10 +94,14 @@ jobs:
9494
9595 # check token permissions on documentation repo
9696 curl -s -H "Authorization: token ${{ steps.generate_token.outputs.token }}" \
97- https://api.github.com/user | jq .
97+ https://api.github.com/repos/temporalio/documentation | jq .
9898 curl -H "Authorization: token ${{ steps.generate_token.outputs.token }}" \
9999 https://api.github.com/repos/temporalio/documentation | jq '.permissions'
100- git ls-remote https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/temporalio/documentation.git
100+
101+ curl -s -H "Authorization: token ${{ steps.generate_token.outputs.token }}" \
102+ https://api.github.com/repos/temporalio/cli | jq .
103+ curl -H "Authorization: token ${{ steps.generate_token.outputs.token }}" \
104+ https://api.github.com/repos/temporalio/cli | jq '.permissions'
101105
102106 git checkout -b $BRANCH_NAME
103107 cp ../cli/temporalcli/docs/*.mdx docs/cli/
You can’t perform that action at this time.
0 commit comments