From 74a426a3ef29a0ade0cbacdaff9a6ae47042d29d Mon Sep 17 00:00:00 2001 From: Guillaume Leccese Date: Fri, 15 Dec 2023 15:36:51 +0100 Subject: [PATCH] fix: use a token to avoid rate limit --- .github/workflows/terraform-quality.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/terraform-quality.yml b/.github/workflows/terraform-quality.yml index 74d56f3..259c5a5 100644 --- a/.github/workflows/terraform-quality.yml +++ b/.github/workflows/terraform-quality.yml @@ -36,7 +36,12 @@ jobs: run: .bin/terraform validate - name: tflint (setup) uses: terraform-linters/setup-tflint@v4 + with: + github_token: ${{ github.token }} - name: tflint (run) + env: + # https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting + GITHUB_TOKEN: ${{ github.token }} run: | tflint --init tflint