Skip to content

Commit

Permalink
ci: Add tfsec workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgadgi committed May 8, 2023
1 parent 9e315bd commit 331ef6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 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:
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
secrets: inherit
with:
branch: 'master'
branch: 'master'
7 changes: 2 additions & 5 deletions .github/workflows/tfsec.yaml → .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
name: tfsec
permissions: write-all

on:
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
call-workflow-tfsec:
tfsec:
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
secrets: inherit
with:
working_directory: './_example'
working_directory: '.'
2 changes: 1 addition & 1 deletion _example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module "log-analytics" {
}

module "aks" {
source = "./../"
source = "clouddrove/aks/azure"
name = "app"
environment = "test"
label_order = ["name", "environment"]
Expand Down

0 comments on commit 331ef6d

Please sign in to comment.