GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
If you have recently upgraded to Jekyll v3.x.x then you may face GitHub Metadata warning (in your local development environment) if you have have use any github-metadata, a.k.a.
site.github Liquid tag in your Jekyll site.
Here’s the solution to fix this warning and access GitHub Metadata on your Windows local development environment:
public_reposcope. (Remember to keep your tokens secret; treat them just like passwords!)
JEKYLL_GITHUB_TOKENand GitHub access token as variable value (which is something like
For security reason you can also access GitHub token with the following command line while building or serving Jekyll site:
$ JEKYLL_GITHUB_TOKEN=abc123def456 bundle exec jekyll serve