Skip to content

Conversation

priteau
Copy link
Member

@priteau priteau commented Jul 9, 2025

Packer workflows sometimes fail due to rate limits of the GitHub API:

Failed getting the "github.com/ethanmdavidson/git" plugin:
1 error occurred:
	* Plugin host rate limited the plugin getter. Try again in 3m52.820898337s. HINT: Set the PACKER_GITHUB_API_TOKEN env var with a token to get more requests.

Set PACKER_GITHUB_API_TOKEN [1] to GITHUB_TOKEN [2] to reduce failures.

[1] https://developer.hashicorp.com/packer/docs/configure#packer_github_api_token
[2] https://docs.github.com/en/actions/concepts/security/github_token

Packer workflows sometimes fail due to rate limits of the GitHub API:

    Failed getting the "github.com/ethanmdavidson/git" plugin:
    1 error occurred:
    	* Plugin host rate limited the plugin getter. Try again in 3m52.820898337s.
    HINT: Set the PACKER_GITHUB_API_TOKEN env var with a token to get more requests.

Set PACKER_GITHUB_API_TOKEN [1] to GITHUB_TOKEN [2] to reduce failures.

[1] https://developer.hashicorp.com/packer/docs/configure#packer_github_api_token
[2] https://docs.github.com/en/actions/concepts/security/github_token
@priteau priteau self-assigned this Jul 9, 2025
@priteau priteau requested a review from a team as a code owner July 9, 2025 11:04
Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@priteau priteau merged commit d90d5db into main Jul 9, 2025
6 of 8 checks passed
@priteau priteau deleted the packer-github-token branch July 9, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants