From 0747c785bc49a7fe0586d7de27e63340f5d517b3 Mon Sep 17 00:00:00 2001 From: Abhishek Srivastava Date: Fri, 2 Aug 2024 11:53:43 +0800 Subject: [PATCH] update README and fix lint and precommit --- .pre-commit-config.yaml | 7 ++++--- .tflint.hcl | 2 +- README.md | 4 ++-- mlc_config.json | 7 +++++++ 4 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 mlc_config.json diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9d42b2c..26d0619 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - "--config=mlc_config.json" - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.77.1 + rev: v1.72.2 hooks: - id: terraform_fmt - id: terraform_providers_lock @@ -25,6 +25,7 @@ repos: - --args=--config=__GIT_WORKING_DIR__/.tflint.hcl - id: terraform_docs args: + - "--args=--lockfile=false" - --hook-config=--path-to-file=README.md - --hook-config=--add-to-existing-file=true - --hook-config=--recursive=true @@ -39,15 +40,15 @@ repos: # Git style - id: check-added-large-files - id: check-merge-conflict + - id: check-merge-conflict - id: no-commit-to-branch # Common errors - id: end-of-file-fixer - id: trailing-whitespace - id: check-yaml - exclude: ".*/templates($|/.*)" # Security - id: detect-aws-credentials - args: ["--allow-missing-credentials"] + args: ['--allow-missing-credentials'] - id: detect-private-key diff --git a/.tflint.hcl b/.tflint.hcl index ae3b044..99a35f4 100644 --- a/.tflint.hcl +++ b/.tflint.hcl @@ -1,6 +1,6 @@ plugin "aws" { enabled = true - version = "0.23.0" + version = "0.24.1" source = "github.com/terraform-linters/tflint-ruleset-aws" } diff --git a/README.md b/README.md index 9744992..02ff4b0 100644 --- a/README.md +++ b/README.md @@ -173,8 +173,8 @@ No resources. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [action\_runner\_scale\_set\_chart\_version](#input\_action\_runner\_scale\_set\_chart\_version) | ARC Scale set chart version | `string` | `"0.6.1"` | no | -| [action\_runner\_scale\_set\_controller\_chart\_version](#input\_action\_runner\_scale\_set\_controller\_chart\_version) | ARC Controller chart version | `string` | `"0.6.1"` | no | +| [action\_runner\_scale\_set\_chart\_version](#input\_action\_runner\_scale\_set\_chart\_version) | ARC Scale set chart version | `string` | `"0.9.3"` | no | +| [action\_runner\_scale\_set\_controller\_chart\_version](#input\_action\_runner\_scale\_set\_controller\_chart\_version) | ARC Controller chart version | `string` | `"0.9.3"` | no | | [auth\_method](#input\_auth\_method) | values for auth method | `string` | `"github-app"` | no | | [controller\_helm\_release\_name](#input\_controller\_helm\_release\_name) | Helm release name for the controller | `string` | `"gha-controller"` | no | | [github\_app\_id](#input\_github\_app\_id) | GitHub App ID. This can't be set at the same time as github\_token | `string` | `""` | no | diff --git a/mlc_config.json b/mlc_config.json new file mode 100644 index 0000000..a5543c3 --- /dev/null +++ b/mlc_config.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "https://github.com/SPHTech.*" + } + ] +}