Skip to content

fix: CG-12124 use codegen-sh[bot] as commiter #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/codegen/git/configs/constants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Git related constants"""

CODEGEN_BOT_NAME = "codegen-bot"
CODEGEN_BOT_EMAIL = "team+codegenbot@codegen.sh"
CODEGEN_BOT_NAME = "codegen-sh[bot]"
CODEGEN_BOT_EMAIL = "131295404+codegen-sh[bot]@users.noreply.github.com"
CODEOWNERS_FILEPATHS = [".github/CODEOWNERS", "CODEOWNERS", "docs/CODEOWNERS"]
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_create_branch_with_grouping(codebase_client: CodebaseClient, git_repo_c
assert remote_branch is not None
assert remote_branch.name == branch.head_ref
assert remote_branch.commit.commit.message == f"[Codegen] {commit_msg}"
assert remote_branch.commit.commit.author.name == "codegen-bot"
assert remote_branch.commit.commit.author.name == "codegen-sh[bot]"

comparison = git_repo_client.repo.compare(base=branch.base_branch, head=branch.head_ref)
assert "+🌈" in comparison.files[0].patch
Expand Down
Loading