diff --git a/.github/workflows/runtime_commit_artifacts.yml b/.github/workflows/runtime_commit_artifacts.yml index 511327fc3d60e..c0a6874119094 100644 --- a/.github/workflows/runtime_commit_artifacts.yml +++ b/.github/workflows/runtime_commit_artifacts.yml @@ -230,8 +230,8 @@ jobs: DiffTrain build for [${{ github.event.workflow_run.head_sha }}](https://github.com/facebook/react/commit/${{ github.event.workflow_run.head_sha }}) branch: builds/facebook-www - commit_user_name: ${{ github.event.workflow_run.actor.name }} - commit_user_email: ${{ github.event.workflow_run.actor.email || format('{0}@users.noreply.github.com', github.event.workflow_run.actor.name) }} + commit_user_name: ${{ github.event.workflow_run.triggering_actor.login }} + commit_user_email: ${{ github.event.workflow_run.triggering_actor.email || format('{0}@users.noreply.github.com', github.event.workflow_run.triggering_actor.login) }} create_branch: true commit_fbsource_artifacts: @@ -388,6 +388,6 @@ jobs: DiffTrain build for commit https://github.com/facebook/react/commit/${{ github.event.workflow_run.head_sha }}. branch: builds/facebook-fbsource - commit_user_name: ${{ github.event.workflow_run.actor.name }} - commit_user_email: ${{ github.event.workflow_run.actor.email || format('{0}@users.noreply.github.com', github.event.workflow_run.actor.name) }} + commit_user_name: ${{ github.event.workflow_run.triggering_actor.login }} + commit_user_email: ${{ github.event.workflow_run.triggering_actor.email || format('{0}@users.noreply.github.com', github.event.workflow_run.triggering_actor.login) }} create_branch: true