Skip to content

Conversation

kayman-mk
Copy link
Collaborator

Description

Adds the GITHUB_TOKEN to the TfLint action to avoid hitting the Github API rate limiting as explained here: https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting

I saw many pipelines failing with the rate limiting error.

Migrations required

No.

Verification

Check that the TfLint job still runs in this PR.

@github-actions
Copy link
Contributor

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 1 0 0.03s
✅ COPYPASTE jscpd yes no 1.03s
✅ REPOSITORY checkov yes no 15.41s
✅ REPOSITORY devskim yes no 0.73s
✅ REPOSITORY dustilock yes no 0.0s
✅ REPOSITORY gitleaks yes no 0.79s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY secretlint yes no 0.84s
✅ REPOSITORY syft yes no 0.39s
✅ SPELL cspell 2 0 1.81s
✅ YAML prettier 1 1 0 0.57s
✅ YAML v8r 1 0 1.93s
✅ YAML yamllint 1 0 0.23s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@kayman-mk kayman-mk marked this pull request as ready for review March 16, 2023 20:00
@kayman-mk kayman-mk requested a review from npalm as a code owner March 16, 2023 20:00
@kayman-mk kayman-mk merged commit 297cd60 into main Mar 16, 2023
@kayman-mk kayman-mk deleted the kayman-mk-patch-3 branch March 16, 2023 21:59
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