File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,19 +14,21 @@ jobs:
1414 run :
1515 shell : bash
1616 steps :
17- - name : Checkout repository
18- uses : actions/checkout@v4
19- with :
20- path : cli
21- submodules : recursive
22-
2317 - name : Generate token
2418 id : generate_token
2519 uses : actions/create-github-app-token@v1
2620 with :
2721 app-id : ${{ secrets.TEMPORAL_CICD_APP_ID }}
2822 private-key : ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }}
2923
24+ - name : Checkout repository
25+ uses : actions/checkout@v4
26+ with :
27+ path : cli
28+ submodules : recursive
29+ persist-credentials : true
30+ token : ${{ steps.generate_token.outputs.token }}
31+
3032 - name : Checkout docs repo
3133 uses : actions/checkout@v4
3234 with :
5557 BRANCH_NAME="cli-update-docs-${{ github.ref_name }}"
5658 # Remove the "/merge" suffix if it exists
5759 BRANCH_NAME=${BRANCH_NAME%/merge}
58- echo "Branch name: $BRANCH_NAME"
5960
6061 cd docs
61- pwd
6262
6363 # Setup the committers identity.
6464 git config --global user.email "sdk@temporal.io"
You can’t perform that action at this time.
0 commit comments