File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,22 @@ jobs:
104
104
run : |
105
105
python build_package.py --zip_dir=built_artifect
106
106
107
- - name : Push branch if there are changes
107
+ - name : Commit Changes if there is any
108
+ run : |
109
+ if ! git update-index --refresh; then
110
+ git config user.email "[email protected] "
111
+ git config user.name "firebase-workflow-trigger-bot"
112
+ git config core.commentChar "%" # so we can use # in git commit messages
113
+ git commit -a -m "Update Guids ID"
114
+
115
+ # Show changes in git log
116
+ git diff
117
+ # Push branch
118
+ git push --set-upstream origin "${NEW_BRANCH}"
119
+ fi
120
+
121
+ - name : Create PR if there is None
122
+ if : github.event.inputs.working_branch == 'None'
108
123
id : push-branch
109
124
run : |
110
125
if ! git update-index --refresh; then
You can’t perform that action at this time.
0 commit comments