From cd23e40c734d758726419c0a3bd91576211bd83f Mon Sep 17 00:00:00 2001 From: lauren Date: Mon, 5 Dec 2022 10:56:57 -0800 Subject: [PATCH] [DiffTrain] Use original commit message (#25809) Instead of the current commit message (which just shows "Build for ", re-use the commit message from the origin commit instead. --- .github/workflows/commit_artifacts.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commit_artifacts.yml b/.github/workflows/commit_artifacts.yml index c72400a7c2..4a39423777 100644 --- a/.github/workflows/commit_artifacts.yml +++ b/.github/workflows/commit_artifacts.yml @@ -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