Skip to content

Conversation

kevpar
Copy link
Member

@kevpar kevpar commented Jan 3, 2023

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

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>
@samuelkarp samuelkarp added kind/test cherry-pick/1.5.x cherry-pick/1.6.x Change to be cherry picked to release/1.6 branch labels Jan 4, 2023
@dmcgowan dmcgowan merged commit 8b15917 into containerd:main Jan 4, 2023
dcantah added a commit to dcantah/nerdctl that referenced this pull request Jan 4, 2023
See: containerd/containerd#7913

Signed-off-by: Danny Canter <danny@dcantah.dev>
@dmcgowan dmcgowan added cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch and removed cherry-pick/1.6.x Change to be cherry picked to release/1.6 branch labels Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch kind/test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants