We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 309e624 commit 380bc0bCopy full SHA for 380bc0b
.github/workflows/update-sdk-docs.yaml
@@ -15,6 +15,8 @@ jobs:
15
with:
16
submodules: recursive
17
fetch-depth: 0
18
+ # Avoid using the GitHub token in the git config
19
+ persist-credentials: false
20
21
- name: Set up Node.js
22
uses: actions/setup-node@v4
@@ -57,10 +59,14 @@ jobs:
57
59
run: |
58
60
yarn run update:sdk-docs && \
61
git add --all && \
- git commit -m 'chore: update sdk readmes' -s && \
- git push origin $BRANCH_NAME --force-with-lease
62
- env:
63
- GITHUB_TOKEN: ${{ secrets.PULL_REQUEST_AUTOMATION }}
+ git commit -m 'chore: update sdk readmes' -s
+
64
+ - name: Push changes
65
+ uses: ad-m/[email protected]
66
+ with:
67
+ github_token: ${{ secrets.PULL_REQUEST_AUTOMATION }}
68
+ branch: ${{ vars.BRANCH_NAME }}
69
+ force_with_lease: true
70
71
- name: Create pr if doesn't exist
72
shell: bash
0 commit comments