6363 rm hyde/rector.php -v
6464
6565 - name : Commit and push changes
66+ env :
67+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
6668 run : |
6769 cd hyde
6870
7274
7375 if ! git diff-index --quiet HEAD --; then
7476 git add .
75- git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
77+ git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
7678
7779 git push upstream develop
7880 else
@@ -110,6 +112,8 @@ jobs:
110112 run : cp -rf develop/packages/framework/. framework -v
111113
112114 - name : Commit and push changes
115+ env :
116+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
113117 run : |
114118 cd framework
115119
@@ -119,7 +123,7 @@ jobs:
119123
120124 if ! git diff-index --quiet HEAD --; then
121125 git add .
122- git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
126+ git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
123127
124128 git push upstream develop
125129 else
@@ -157,6 +161,8 @@ jobs:
157161 run : cp -rf develop/packages/realtime-compiler/. realtime-compiler -v
158162
159163 - name : Commit and push changes
164+ env :
165+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
160166 run : |
161167 cd realtime-compiler
162168
@@ -166,7 +172,7 @@ jobs:
166172
167173 if ! git diff-index --quiet HEAD --; then
168174 git add .
169- git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
175+ git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
170176
171177 git push upstream master
172178 else
@@ -204,6 +210,8 @@ jobs:
204210 run : cp -rf develop/packages/hydefront/. hydefront -v
205211
206212 - name : Commit and push changes
213+ env :
214+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
207215 run : |
208216 cd hydefront
209217
@@ -213,7 +221,7 @@ jobs:
213221
214222 if ! git diff-index --quiet HEAD --; then
215223 git add .
216- git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
224+ git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
217225
218226 git push upstream master
219227 else
@@ -256,6 +264,8 @@ jobs:
256264 rm website/_docs/README.markdown
257265
258266 - name : Commit and push changes
267+ env :
268+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
259269 run : |
260270 cd website
261271
@@ -265,7 +275,7 @@ jobs:
265275
266276 if ! git diff-index --quiet HEAD --; then
267277 git add .
268- git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
278+ git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
269279
270280 git push upstream upcoming
271281 else
@@ -303,6 +313,8 @@ jobs:
303313 run : cp -rf develop/packages/testing/. testing -v
304314
305315 - name : Commit and push changes
316+ env :
317+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
306318 run : |
307319 cd testing
308320
@@ -312,7 +324,7 @@ jobs:
312324
313325 if ! git diff-index --quiet HEAD --; then
314326 git add .
315- git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
327+ git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
316328
317329 git push upstream master
318330 else
@@ -350,6 +362,8 @@ jobs:
350362 run : cp -rf develop/packages/ui-kit/. ui-kit -v
351363
352364 - name : Commit and push changes
365+ env :
366+ COMMIT_MESSAGE : ${{ github.event.head_commit.message }}
353367 run : |
354368 cd ui-kit
355369
@@ -358,7 +372,7 @@ jobs:
358372 git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/ui-kit.git
359373
360374 git add .
361- git diff --exit-code || git commit -m "${{ github.event.head_commit.message }} https://github.com/hydephp/develop/commit/${{ github.sha }}"
375+ git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
362376
363377 git push upstream master
364378
0 commit comments