[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.
This commit is contained in:
lauren
2022-12-05 10:56:57 -08:00
committed by GitHub
parent f0534ae94a
commit cd23e40c73

View File

@@ -146,7 +146,10 @@ jobs:
- name: Commit changes to branch
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Build for ${{ github.sha }}
commit_message: |
${{ github.event.head_commit.message }}
DiffTrain build for `${{ github.sha }}`
branch: builds/facebook-www
commit_user_name: ${{ github.actor }}
commit_user_email: ${{ github.actor }}@users.noreply.github.com