Skip to content

How to filter out a repository that is not obtained when using Jekyll Github Metadata to retrieve GitHub repositories #290

Description

@longfeizheng

When a repository is disabled, there is a problem using jekyll github metadata to retrieve all public repositories, resulting in the following error:

Liquid Exception: GET  https://api.github.com/repos/longfeizheng/GLaDOS-checkin/releases?per_page=100:  403 - Repository access blocked in /_layouts/page.html

error code

{% if site.github.public_repositories != null %}

repository url:https://github.com/longfeizheng/GLaDOS-checkin/settings

So I need to filter out certain repositories when requesting, is there any configuration or other method? Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions