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

tests: pass $GITHUB_TOKEN #1615

Merged
merged 1 commit into from Dec 5, 2022
Merged

tests: pass $GITHUB_TOKEN #1615

merged 1 commit into from Dec 5, 2022

Conversation

bendrucker
Copy link
Member

@bendrucker bendrucker commented Dec 5, 2022

Provides authentication when running tests in GitHub Action. Prevents flakes in plugin download tests due to rate limiting:

https://github.com/terraform-linters/tflint/actions/runs/3622249418/jobs/6106724062 (#1614)

--- FAIL: Test_Install (0.39s)
100
    install_test.go:26: Failed to install: Failed to download checksums.txt.sig: GET https://api.github.com/repos/terraform-linters/tflint-ruleset-aws/releases/assets/35784141: 403 API rate limit exceeded for 20.36.167.160. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 20m57s]

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.

None yet

1 participant