Skip to content

Commit 0ee5e30

Browse files
committed
Debug workflow
1 parent 2b1cc12 commit 0ee5e30

File tree

1 file changed

+28
-7
lines changed

1 file changed

+28
-7
lines changed

.github/workflows/split-monorepo.yml

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,12 @@ jobs:
6565
- name: Commit and push changes
6666
env:
6767
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
68-
if: ${{ $(! git diff-index --quiet HEAD --) }}
6968
run: |
7069
cd hyde
70+
if true; then; echo "No changes to this package. Exiting gracefully.";
71+
exit 0;
72+
fi
73+
7174
git config user.name github-actions
7275
git config user.email [email protected]
7376
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hyde.git
@@ -110,9 +113,12 @@ jobs:
110113
- name: Commit and push changes
111114
env:
112115
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
113-
if: ${{ $(! git diff-index --quiet HEAD --) }}
114116
run: |
115117
cd framework
118+
if true; then; echo "No changes to this package. Exiting gracefully.";
119+
exit 0;
120+
fi
121+
116122
git config user.name github-actions
117123
git config user.email [email protected]
118124
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/framework.git
@@ -155,9 +161,12 @@ jobs:
155161
- name: Commit and push changes
156162
env:
157163
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
158-
if: ${{ $(! git diff-index --quiet HEAD --) }}
159164
run: |
160165
cd realtime-compiler
166+
if true; then; echo "No changes to this package. Exiting gracefully.";
167+
exit 0;
168+
fi
169+
161170
git config user.name github-actions
162171
git config user.email [email protected]
163172
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/realtime-compiler.git
@@ -200,9 +209,12 @@ jobs:
200209
- name: Commit and push changes
201210
env:
202211
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
203-
if: ${{ $(! git diff-index --quiet HEAD --) }}
204212
run: |
205213
cd hydefront
214+
if true; then; echo "No changes to this package. Exiting gracefully.";
215+
exit 0;
216+
fi
217+
206218
git config user.name github-actions
207219
git config user.email [email protected]
208220
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hydefront.git
@@ -250,9 +262,12 @@ jobs:
250262
- name: Commit and push changes
251263
env:
252264
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
253-
if: ${{ $(! git diff-index --quiet HEAD --) }}
254265
run: |
255266
cd website
267+
if true; then; echo "No changes to this package. Exiting gracefully.";
268+
exit 0;
269+
fi
270+
256271
git config user.name github-actions
257272
git config user.email [email protected]
258273
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/hydephp.com.git
@@ -295,9 +310,12 @@ jobs:
295310
- name: Commit and push changes
296311
env:
297312
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
298-
if: ${{ $(! git diff-index --quiet HEAD --) }}
299313
run: |
300314
cd testing
315+
if true; then; echo "No changes to this package. Exiting gracefully.";
316+
exit 0;
317+
fi
318+
301319
git config user.name github-actions
302320
git config user.email [email protected]
303321
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/testing.git
@@ -340,10 +358,13 @@ jobs:
340358
- name: Commit and push changes
341359
env:
342360
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
343-
if: ${{ $(! git diff-index --quiet HEAD --) }}
344361
run: |
345362
cd ui-kit
346363
364+
if true; then; echo "No changes to this package. Exiting gracefully.";
365+
exit 0;
366+
fi
367+
347368
git config user.name github-actions
348369
git config user.email [email protected]
349370
git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/ui-kit.git

0 commit comments

Comments
 (0)