Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jouve committed Oct 4, 2023
1 parent 507e6fb commit 37ca69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ jobs:
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
ct --help || true; changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: echo $PATH; which ct; ct version; ct lint --target-branch ${{ github.event.repository.default_branch }}
run: ct --help || true; ct lint --target-branch ${{ github.event.repository.default_branch }}

# https://github.com/aquasecurity/trivy-action#scan-ci-pipeline-w-trivy-config
trivy:
Expand Down

0 comments on commit 37ca69c

Please sign in to comment.