Refined-github: Do not populate name for bots

Created on 1 Oct 2018  路  5Comments  路  Source: sindresorhus/refined-github

image

We are using todo bot https://github.com/apps/todo but Refined GitHub populated it's name as user todo https://github.com/todo

bug help wanted

All 5 comments

@electron0zero Can you also provide a link to the issue/PR with this issue!?

See this issue: https://github.com/nteract/nteract/issues/3381 or any other issue from this search result

I've already fixed this in #959, but for some reason, GitHub has changed the href attribute of the profile link to use the full URL. What was /apps/todo before, is now https://github.com/apps/todo, so my check using .startsWith('/apps/') is no longer working.

Changing it to be.includes('/apps/') would fix the issue, no?

@bushes Yes (although it's now a CSS selector, but the idea is the same). Working on a PR right now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juliocanares picture juliocanares  路  3Comments

fregante picture fregante  路  3Comments

pawelad picture pawelad  路  3Comments

hkdobrev picture hkdobrev  路  3Comments

Arcanemagus picture Arcanemagus  路  3Comments