Skip to content

Commit

Permalink
fix: resolving the issue on the checkov file
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 committed Dec 31, 2024
1 parent 304ff72 commit 9b526db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/terraform-module-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ jobs:
uses: actions/checkout@v4
- name: Ensure Checkov Configuration
run: |
[[ ! -f ".checkov.yml" ]] && echo "{}" > .checkov.yml
[ -f ".checkov.yml" ] || echo "{}" > .checkov.yml
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-plan-and-apply-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ jobs:
uses: actions/checkout@v4
- name: Ensure Checkov Configuration
run: |
[[ ! -f ".checkov.yml" ]] && echo "{}" > .checkov.yml
[ -f ".checkov.yml" ] || echo "{}" > .checkov.yml
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
Expand Down

0 comments on commit 9b526db

Please sign in to comment.