Skip to content

Commit

Permalink
Merge pull request #6 from clouddrove/feature/internal381
Browse files Browse the repository at this point in the history
ci: add tfsec workflow
  • Loading branch information
d4kverma authored May 9, 2023
2 parents 6fd6574 + e1459c5 commit f9f7174
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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'
1 change: 1 addition & 0 deletions .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -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: '.'
4 changes: 2 additions & 2 deletions _example/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ module "resource_group" {
}

module "logic-app" {
source = "../../"
source = "clouddrove/logic-app/azure"

enabled = true
name = "logic-app"
environment = "test"
label_order = ["name", "environment"]
location = module.resource_group.resource_group_location
resource_group_name = module.resource_group.resource_group_name
}
}

0 comments on commit f9f7174

Please sign in to comment.