Skip to content

Commit

Permalink
Updating github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
madduci committed Dec 14, 2024
1 parent d68049d commit a5bdb21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/opentofu-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: opentofu/setup-opentofu@v1

- name: Tofu Plan
run: cd examples/kind-with-${matrix.type} && tofu init && tofu plan -no-color -out=tfplan.out && tofu show -json tfplan.out > tfplan.json
run: cd examples/kind-with-${{matrix.type}} && tofu init && tofu plan -no-color -out=tfplan.out && tofu show -json tfplan.out > tfplan.json

- name: Output Plan
run: cat tfplan.json
Expand All @@ -45,8 +45,8 @@ jobs:
id: checkov
uses: bridgecrewio/checkov-action@v12
with:
directory: examples/kind-with-${matrix.type}/
file: examples/kind-with-${matrix.type}/tfplan.json
directory: examples/kind-with-${{matrix.type}}/
file: examples/kind-with-${{matrix.type}}/tfplan.json
output_format: cli,sarif
output_file_path: console,results.sarif
# Ignoring checks since the original helm charts is so configure
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/terraform-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: hashicorp/setup-terraform@v3

- name: Terraform Plan
run: cd examples/kind-with-${matrix.type} && terraform init && terraform plan -no-color -out=tfplan.out && terraform show -json tfplan.out > tfplan.json
run: cd examples/kind-with-${{matrix.type}} && terraform init && terraform plan -no-color -out=tfplan.out && terraform show -json tfplan.out > tfplan.json

- name: Output Plan
run: cat tfplan.json
Expand All @@ -45,8 +45,8 @@ jobs:
id: checkov
uses: bridgecrewio/checkov-action@v12
with:
directory: examples/kind-with-${matrix.type}/
file: examples/kind-with-${matrix.type}/tfplan.json
directory: examples/kind-with-${{matrix.type}}/
file: examples/kind-with-${{matrix.type}}/tfplan.json
output_format: cli,sarif
output_file_path: console,results.sarif
# Ignoring checks since the original helm charts is so configure
Expand Down

0 comments on commit a5bdb21

Please sign in to comment.