From 2a7cddcabcef771f9d16b98f5e69f47a411ed8fc Mon Sep 17 00:00:00 2001 From: Richard Barrett <32808365+Richard-Barrett@users.noreply.github.com> Date: Wed, 24 Apr 2024 23:43:05 -0500 Subject: [PATCH 1/2] Create pre-commit.yaml --- .github/workflows/pre-commit.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pre-commit.yaml diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml new file mode 100644 index 0000000..3bdb2a6 --- /dev/null +++ b/.github/workflows/pre-commit.yaml @@ -0,0 +1,15 @@ +--- +name: Pre-Commit + +on: + pull_request: + push: + branches: [main] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1 From 4d9f2a13c41bb3e5b217d7392f6839ca32947485 Mon Sep 17 00:00:00 2001 From: Richard-Barrett Date: Thu, 25 Apr 2024 04:43:38 +0000 Subject: [PATCH 2/2] terraform fmt: automated action --- examples/complete/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/complete/main.tf b/examples/complete/main.tf index 561567e..c6fb982 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -8,7 +8,7 @@ terraform { } } -provider snowflake {} +provider "snowflake" {} module "snowflake_samlscim_canary_okta" { source = "../../"