We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e747711 commit 431ce6eCopy full SHA for 431ce6e
.github/workflows/helm-chart-lint.yml
@@ -76,11 +76,11 @@ jobs:
76
- name: Run chart-testing (list-changed)
77
id: list-changed
78
run: |
79
- changed=$(ct list-changed --target-branch ${{ github.event.ref }})
+ changed=$(ct list-changed --target-branch ${{ github.base_ref || github.ref_name }})
80
if [[ -n "$changed" ]]; then
81
echo "CHART_CHANGED=true" >> $GITHUB_ENV
82
fi
83
84
# run chart linting
85
- name: Run chart-testing (lint)
86
- run: ct lint --target-branch ${{ github.event.ref }} --config charts/config/chart-testing-config.yaml
+ run: ct lint --target-branch ${{ github.base_ref || github.ref_name }} --config charts/config/chart-testing-config.yaml
0 commit comments