Skip to content

Commit

Permalink
updated linter-analysis to run root separately
Browse files Browse the repository at this point in the history
  • Loading branch information
riragh committed Jan 3, 2024
1 parent 12f9881 commit 4859377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/linter-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@ jobs:
- name: Initializing TFLint
run: TFLINT_LOG=info tflint --init -c "$(pwd)/linting-configs/.tflint.hcl"

- name: Run TFLint Action - root
run: TFLINT_LOG=info tflint -c "$(pwd)/linting-configs/.tflint.hcl" --var='ssh_public_key=null'

- name: Run TFLint Action
run: TFLINT_LOG=info tflint -c "$(pwd)/linting-configs/.tflint.hcl" --recursive
1 change: 0 additions & 1 deletion linting-configs/.tflint.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
config {
# Enables module inspection.
module = true
variables = ["ssh_public_key=null"]
}

plugin "azurerm" {
Expand Down

0 comments on commit 4859377

Please sign in to comment.