Skip to content
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

[release/1.6] CI: Pass GITHUB_TOKEN to containerd/project-checks #7919

Merged

Commits on Jan 4, 2023

  1. CI: Pass GITHUB_TOKEN to containerd/project-checks

    Previously the project-checks action was failing sometimes due to
    hitting GitHub API rate limits. Since no token was supplied, the rate
    limits were only 60 requests/hour keyed off the IP address of the
    runner.
    
    Now, passing GITHUB_TOKEN secret through to project-checks, we have a
    limit of 1000 requests/hour for the whole repo. This should alleviate
    the rate limits that were being seen.
    
    I believe it is safe to pass this secret as project-checks is also owned
    by the containerd organization. The secret is also scoped to the actions
    run, and is invalidated upon completion.
    
    project-checks version is also updated to the version that supports
    repo-access-token input.
    
    Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
    (cherry picked from commit 79d09c6)
    Signed-off-by: Derek McGowan <derek@mcg.dev>
    kevpar authored and dmcgowan committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    b573670 View commit details
    Browse the repository at this point in the history