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

chores: Fix flaky CI #1627

Merged
merged 4 commits into from
Dec 25, 2022
Merged

chores: Fix flaky CI #1627

merged 4 commits into from
Dec 25, 2022

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Dec 25, 2022

A few days ago GitHub Actions started failing frequently. Although the detailed cause is unknown, it seems that the frequency of hitting the API rate limit on GitHub Actions is increasing.

In this PR, we pass GITHUB_TOKEN to e2e/install workflows to avoid rate-limiting. If the GITHUB_TOKEN is set in the install script, it will send a request with the token.

Also, there was another problem with the install script on the hashicorp/terraform container image. The cause of this is unknown, but it seems to be an Alpine Linux issue due to a missing curl-dev dependency. Added curl-dev and fixed the issue.

@wata727 wata727 force-pushed the fix_ci branch 4 times, most recently from 00a3faf to 9074ecc Compare December 25, 2022 09:33
@iTiamo
Copy link

iTiamo commented Apr 17, 2023

What permissions does the token need to have? I am integrating tflint in my CI and noticing 401 authorization errors every now and then. I am passing a GITHUB_TOKEN with the public_repo scope. Should that be enough?

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

Successfully merging this pull request may close these issues.

2 participants