feat(gh): make copilot authors as bots

This commit is contained in:
Folke Lemaitre 2025-11-08 07:19:55 +01:00
parent fe20e95780
commit c6ab18964b
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

View file

@ -351,7 +351,7 @@ end
function M.comment_header(comment, opts, ctx)
opts = opts or {}
local ret = {} ---@type snacks.picker.Highlight[]
local is_bot = comment.author.login == "github-actions"
local is_bot = comment.author.login == "github-actions" or comment.author.login:find("copilot")
extend(
ret,
h.badge(