Skip to content

Commit 297cd60

Browse files
authored
ci: avoid API rate limiting setting up TfLint (#753)
## 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.
1 parent ed99ab9 commit 297cd60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ jobs:
117117

118118
- uses: terraform-linters/setup-tflint@v2
119119
name: Setup TFLint
120+
env:
121+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120122
with:
121123
tflint_version: latest
122124

0 commit comments

Comments
 (0)