From de5be3501c32b0011c32199dfbe35ab24eb9def8 Mon Sep 17 00:00:00 2001 From: Kepler Vital Date: Tue, 8 Aug 2023 09:41:01 +0200 Subject: [PATCH] . --- .github/actions/pullrequest/create/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/pullrequest/create/main.py b/.github/actions/pullrequest/create/main.py index 243d237..aa7230e 100644 --- a/.github/actions/pullrequest/create/main.py +++ b/.github/actions/pullrequest/create/main.py @@ -4,6 +4,7 @@ import string from github import Github from git import Repo +from git import Actor class ActionInputs: @@ -73,8 +74,8 @@ def create_pull_request(inputs: ActionInputs): inputs.commit_message, parent_commits=None, head=True, - author=inputs.author, - committer=inputs.committer, + author=Actor(inputs.author), + committer=Actor(inputs.committer), ) # Push the changes to the remote repository