Skip to content

Commit

Permalink
Update verify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
klausmeyer authored Aug 18, 2024
1 parent b6dcd6e commit 348f89a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,30 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Fetch history
run: git fetch --prune --unshallow

- name: Set up Helm
uses: azure/setup-helm@v3

- uses: actions/setup-python@v4

- name: Set up chart-testing
uses: helm/[email protected]

- name: Run chart-testing (list-changed)
id: list-changed
run: |
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: ct lint --target-branch ${{ github.event.repository.default_branch }}

- name: Run lint
uses: helm/[email protected]
with:
Expand Down

0 comments on commit 348f89a

Please sign in to comment.