Skip to content
代码片段 群组 项目
未验证 提交 33d4ac7f 编辑于 作者: Kerri Miller's avatar Kerri Miller 提交者: GitLab
浏览文件

Merge branch 'phikai-duo-bot-avatar' into 'master'

No related branches found
No related tags found
无相关合并请求
lib/assets/images/bot_avatars/duo-bot.png

19.5 KB

...@@ -95,7 +95,7 @@ def duo_code_review_bot ...@@ -95,7 +95,7 @@ def duo_code_review_bot
unique_internal(User.where(user_type: :duo_code_review_bot), 'GitLab-Duo-Code-Reviewer', email_pattern) do |u| unique_internal(User.where(user_type: :duo_code_review_bot), 'GitLab-Duo-Code-Reviewer', email_pattern) do |u|
u.bio = 'The reviewer bot for GitLab Duo Code Review' u.bio = 'The reviewer bot for GitLab Duo Code Review'
u.name = 'Duo Code Reviewer' u.name = 'Duo Code Reviewer'
u.avatar = bot_avatar(image: 'support-bot.png') # todo: add an avatar for duo_code_review_bot u.avatar = bot_avatar(image: 'duo-bot.png') # todo: add an avatar for duo_code_review_bot
u.confirmed_at = Time.zone.now u.confirmed_at = Time.zone.now
u.private_profile = true u.private_profile = true
end end
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
it_behaves_like 'bot user avatars', :security_bot, 'security-bot.png' it_behaves_like 'bot user avatars', :security_bot, 'security-bot.png'
it_behaves_like 'bot user avatars', :automation_bot, 'support-bot.png' it_behaves_like 'bot user avatars', :automation_bot, 'support-bot.png'
it_behaves_like 'bot user avatars', :llm_bot, 'support-bot.png' it_behaves_like 'bot user avatars', :llm_bot, 'support-bot.png'
it_behaves_like 'bot user avatars', :duo_code_review_bot, 'support-bot.png' it_behaves_like 'bot user avatars', :duo_code_review_bot, 'duo-bot.png'
it_behaves_like 'bot user avatars', :admin_bot, 'admin-bot.png' it_behaves_like 'bot user avatars', :admin_bot, 'admin-bot.png'
context 'when bot is the support_bot' do context 'when bot is the support_bot' do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册