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
fix: use sponsor's GitHub username when name is missing #392
Conversation
👷 Deploy request for es-eslint pending review.Visit the deploys page to approve it
|
✅ Deploy Preview for new-eslint ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for ja-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for zh-hans-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for fr-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for hi-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for pt-br-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for de-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
As you can see from the actions, CI no longer fails like #391 |
Here's an update of the latest changes:
|
I thought that we remove the entry from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
we can merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Prerequisites checklist
What is the purpose of this pull request?
The CI has failed because of a
null
value of name coming from here 415e0bb#diff-ff108750031135fb05819cca15c41069cf217df9c9e21745012a5af2e965c55bR256.And I can confirm it's not a glitch or something because the Web version of GitHub GraphQL API did return
null
for this sponsor:What changes did you make? (Give an overview)
Set a fallback value for
name
in template.Currently I'm setting it to
''
, but I'm not sure it's a good option as it could mess the layout:But it shouldn't be a problem once the data fetching is done next midnight because there's another fallback value in
fetch-sponsors.js
, see next.Set the value of
name
tologin
whennull
infetch-sponsors.js
Related Issues
Is there anything you'd like reviewers to focus on?