Skip to content

Commit 686f3f7

Browse files
committed
enabled TFLINT token
Signed-off-by: Marcel Bindseil <marcelbindseil@gmail.com>
1 parent ff12863 commit 686f3f7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/mega-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
# All available variables are described in documentation
4747
# https://megalinter.io/configuration/
4848
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
49-
GITHUB_TOKEN: ${{ github.token }}
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
5151
# DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks
5252

.mega-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ DEFAULT_BRANCH: main
4848
LOG_LEVEL: INFO
4949
SPELL_CSPELL_CONFIG_FILE: .cspell.json
5050
SPELL_CSPELL_FILE_EXTENSIONS: [".md"]
51-
# TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES:
52-
# - GITHUB_TOKEN
51+
TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES:
52+
- GITHUB_TOKEN
5353
# TERRAFORM_TERRASCAN_CONFIG_FILE: .terrascan.toml
5454
# TERRAFORM_TERRASCAN_DISABLE_ERRORS: true
5555

0 commit comments

Comments
 (0)