diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yml similarity index 69% rename from .github/workflows/changelog.yaml rename to .github/workflows/changelog.yml index 3e48a53..1ee6f78 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yml @@ -1,14 +1,13 @@ name: changelog permissions: write-all - on: push: tags: - "*" - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: - call-workflow-changelog: + changelog: uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master + secrets: inherit with: branch: 'master' diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index 08638e3..95bd395 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -49,6 +49,7 @@ jobs: - name: tflint uses: reviewdog/action-tflint@master with: + tflint_version: v0.29.0 github_token: ${{ secrets.GITHUB_TOKEN }} working_directory: ${{ matrix.directory }} fail_on_error: 'true' diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml new file mode 100644 index 0000000..c203751 --- /dev/null +++ b/.github/workflows/tfsec.yml @@ -0,0 +1,11 @@ +name: tfsec +permissions: write-all +on: + pull_request: + workflow_dispatch: +jobs: + tfsec: + uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master + secrets: inherit + with: + working_directory: '.' diff --git a/_example/complete/main.tf b/_example/complete/main.tf index f4f9d9a..6a96cc8 100644 --- a/_example/complete/main.tf +++ b/_example/complete/main.tf @@ -13,7 +13,7 @@ module "resource_group" { } module "logic-app" { - source = "../../" + source = "clouddrove/logic-app/azure" enabled = true name = "logic-app" @@ -21,4 +21,4 @@ module "logic-app" { label_order = ["name", "environment"] location = module.resource_group.resource_group_location resource_group_name = module.resource_group.resource_group_name -} \ No newline at end of file +}