Commit e93334b Johannes Schneider
authored
1 parent e97462e commit e93334b Copy full SHA for e93334b
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,18 @@ jobs:
18
18
uses :
dependabot/[email protected]
19
19
with :
20
20
github-token : ' ${{ secrets.GITHUB_TOKEN }}'
21
+ - name : " Prepare git"
22
+ run : |
23
+ git config --global user.email "[email protected] "
24
+ git config --global user.name "SAP Cloud SDK Bot"
21
25
- name : comment major updates
22
26
if : ${{steps.metadata.outputs.update-type == 'version-update:semver-major' }}
23
27
run : |
24
28
gh pr comment $PR_URL --body "PR **not approved** because it includes a major update of a dependency"
25
29
gh pr edit $PR_URL --add-label "please review"
26
30
env :
27
31
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 }}
29
33
- name : approve and merge
30
34
if : ${{steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
31
35
steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
34
38
gh pr merge --auto --squash "$PR_URL"
35
39
env :
36
40
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