File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 15
15
# TODO: remove this next line before merging!
16
16
push :
17
17
18
- jobs :
18
+ env :
19
+ GIT_USER_EMAIL :
' [email protected] '
20
+ GIT_USER_NAME : ' SDKLibsUpdaterGithub'
21
+ UPDATE_BRANCH : ' sdk_libs_update'
19
22
23
+ jobs :
20
24
build :
21
25
runs-on : ubuntu-latest
22
26
container :
@@ -79,11 +83,10 @@ jobs:
79
83
env :
80
84
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81
85
run : |
82
- git config --global user.email '[email protected] '
83
- git config --global user.name 'SDKLibsUpdaterGithub'
84
- git status
85
- git switch --create sdk_libs_update
86
+ git config --global user.email ${{ env.GIT_USER_EMAIL }}
87
+ git config --global user.name ${{ env.GIT_USER_NAME }}
88
+ git switch --create ${{ env.UPDATE_BRANCH }}
86
89
git add -A .
87
90
git commit -m 'Updating static SDK libraries'
88
- git status
91
+ git push -u origin ${{ env.UPDATE_BRANCH }}
89
92
gh pr create -B ${{ inputs.target_sdk_branch }} --title '[SDK_LIBS_UPDATE] Updating static SDK libraries' --body 'Created by Github action'
You can’t perform that action at this time.
0 commit comments