From b9af819f8b0e7f14200cfffe04da835b56f2f75d Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Fri, 26 Jul 2024 15:06:43 -0400 Subject: [PATCH] [ci] Fix invalid username and email in synthetic commit ghstack-source-id: 951d0ef445f945d2f0e12e4b6647543b3c4eee73 Pull Request resolved: https://github.com/facebook/react/pull/30486 --- .github/workflows/runtime_commit_artifacts.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/runtime_commit_artifacts.yml b/.github/workflows/runtime_commit_artifacts.yml index 511327fc3d..c0a6874119 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