Skip to content

Commit

Permalink
fix(chart-lint): Use the event branch as the linting and change refer…
Browse files Browse the repository at this point in the history
…ence
  • Loading branch information
drcgjung committed Sep 1, 2023
1 parent ffae8e8 commit 98bef43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm-chart-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ jobs:
uses: helm/[email protected]

- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --config charts/config/chart-testing-config.yaml
run: ct lint --target-branch ${{ github.event.ref }} --config charts/config/chart-testing-config.yaml

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
changed=$(ct list-changed --target-branch ${{ github.event.ref }})
if [[ -n "$changed" ]]; then
echo "CHART_CHANGED=true" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit 98bef43

Please sign in to comment.