Skip to content

Commit cd23e40

Browse files
authored
[DiffTrain] Use original commit message (#25809)
Instead of the current commit message (which just shows "Build for <sha>", re-use the commit message from the origin commit instead.
1 parent f0534ae commit cd23e40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/commit_artifacts.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ jobs:
146146
- name: Commit changes to branch
147147
uses: stefanzweifel/git-auto-commit-action@v4
148148
with:
149-
commit_message: Build for ${{ github.sha }}
149+
commit_message: |
150+
${{ github.event.head_commit.message }}
151+
152+
DiffTrain build for `${{ github.sha }}`
150153
branch: builds/facebook-www
151154
commit_user_name: ${{ github.actor }}
152155
commit_user_email: ${{ github.actor }}@users.noreply.github.com

0 commit comments

Comments
 (0)