File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,18 @@ jobs:
1818 uses : dependabot/fetch-metadata@v1.6.0
1919 with :
2020 github-token : ' ${{ secrets.GITHUB_TOKEN }}'
21+ - name : " Prepare git"
22+ run : |
23+ git config --global user.email "cloudsdk@sap.com"
24+ git config --global user.name "SAP Cloud SDK Bot"
2125 - name : comment major updates
2226 if : ${{steps.metadata.outputs.update-type == 'version-update:semver-major' }}
2327 run : |
2428 gh pr comment $PR_URL --body "PR **not approved** because it includes a major update of a dependency"
2529 gh pr edit $PR_URL --add-label "please review"
2630 env :
2731 PR_URL : ${{github.event.pull_request.html_url}}
28- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN }}
32+ GITHUB_TOKEN : ${{secrets.BOT_SDK_JS_FOR_DOCS_REPO_PR }}
2933 - name : approve and merge
3034 if : ${{steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
3135 steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
3438 gh pr merge --auto --squash "$PR_URL"
3539 env :
3640 PR_URL : ${{github.event.pull_request.html_url}}
37- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN }}
41+ GITHUB_TOKEN : ${{secrets.BOT_SDK_JS_FOR_DOCS_REPO_PR }}
You can’t perform that action at this time.
0 commit comments