[ci] Fix invalid username and email in synthetic commit
ghstack-source-id: 951d0ef445f945d2f0e12e4b6647543b3c4eee73 Pull Request resolved: https://github.com/facebook/react/pull/30486
Lauren Tan committed
Jul 26, 2024 at 15:06 UTC
b9af819f8b0e7f14200cfffe04da835b56f2f75d
1 file changed
+4
-4
.github/workflows/runtime_commit_artifacts.yml
+4
-4
@@ -230,8 +230,8 @@ jobs:
230
231
DiffTrain build for [${{ github.event.workflow_run.head_sha }}](https://github.com/facebook/react/commit/${{ github.event.workflow_run.head_sha }})
232
branch: builds/facebook-www
233
- commit_user_name: ${{ github.event.workflow_run.actor.name }}
234
- commit_user_email: ${{ github.event.workflow_run.actor.email || format('{0}@users.noreply.github.com', github.event.workflow_run.actor.name) }}
233
+ commit_user_name: ${{ github.event.workflow_run.triggering_actor.login }}
234
+ commit_user_email: ${{ github.event.workflow_run.triggering_actor.email || format('{0}@users.noreply.github.com', github.event.workflow_run.triggering_actor.login) }}
235
create_branch: true
236
237
commit_fbsource_artifacts:
@@ -388,6 +388,6 @@ jobs:
388
389
DiffTrain build for commit https://github.com/facebook/react/commit/${{ github.event.workflow_run.head_sha }}.
390
branch: builds/facebook-fbsource
391
- commit_user_name: ${{ github.event.workflow_run.actor.name }}
392
- commit_user_email: ${{ github.event.workflow_run.actor.email || format('{0}@users.noreply.github.com', github.event.workflow_run.actor.name) }}
391
+ commit_user_name: ${{ github.event.workflow_run.triggering_actor.login }}
392
+ commit_user_email: ${{ github.event.workflow_run.triggering_actor.email || format('{0}@users.noreply.github.com', github.event.workflow_run.triggering_actor.login) }}
393
create_branch: true