Skip to content

Commit

Permalink
workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jinja2 committed Oct 5, 2024
1 parent 5a26bb1 commit 2928ae8
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,16 @@ jobs:
- 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 (list-changed)
# id: list-changed
# run: |
# changed=$(ct list-changed --config=ct.yaml)
# if [[ -n "$changed" ]]; then
# echo "::set-output name=changed::true"
# fi

- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --config=ct.yaml --target-branch ${{ github.event.repository.default_branch }}
run: make lint

- name: Run helm-docs
id: helm-docs
Expand Down

0 comments on commit 2928ae8

Please sign in to comment.