Skip to content

Commit d62abec

Browse files
committed
1 parent cfe3f48 commit d62abec

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/split-monorepo.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hyde.git
7272
7373
git add .
74-
git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
74+
git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
7575
7676
git push upstream develop
7777
@@ -114,7 +114,7 @@ jobs:
114114
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/framework.git
115115
116116
git add .
117-
git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
117+
git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
118118
119119
git push upstream develop
120120
@@ -157,7 +157,7 @@ jobs:
157157
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/realtime-compiler.git
158158
159159
git add .
160-
git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
160+
git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
161161
162162
git push upstream master
163163
@@ -200,7 +200,7 @@ jobs:
200200
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hydefront.git
201201
202202
git add .
203-
git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
203+
git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
204204
205205
git push upstream master
206206
@@ -248,7 +248,7 @@ jobs:
248248
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hydephp.com.git
249249
250250
git add .
251-
git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
251+
git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
252252
253253
git push upstream upcoming
254254
@@ -291,7 +291,7 @@ jobs:
291291
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/testing.git
292292
293293
git add .
294-
git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
294+
git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
295295
296296
git push upstream master
297297
@@ -334,7 +334,7 @@ jobs:
334334
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/ui-kit.git
335335
336336
git add .
337-
git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
337+
git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
338338
339339
git push upstream master
340340

0 commit comments

Comments
 (0)