Skip to content

Commit

Permalink
fix(ci): repair checkov (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Jul 12, 2024
1 parent 534f60e commit d876724
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ jobs:
helm lint ${CHART_NAME}
helm lint ${CHART_NAME} -f ${CHART_NAME}/values-test.yaml
- name: Run Checkov action
uses: bridgecrewio/checkov-action@master
with:
quiet: true
file: ${CHART_NAME}/Chart.yaml
var_file: ${CHART_NAME}/values-test.yaml

- name: Install kubectl
uses: azure/setup-kubectl@v3
with:
Expand All @@ -63,6 +56,14 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run Checkov action
uses: bridgecrewio/checkov-action@master
with:
quiet: true
soft_fail: false
file: ${{ env.CHART_NAME }}/Chart.yaml
var_file: ${{ env.CHART_NAME }}/values-test.yaml

# Dry run to ensure that manifests are generated successfully
- name: Dry Run Chart
run: |
Expand Down

0 comments on commit d876724

Please sign in to comment.