mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
feat(gh): make copilot authors as bots
This commit is contained in:
parent
fe20e95780
commit
c6ab18964b
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue