Skip to content

Commit

Permalink
fix: specify the main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyannn committed Jan 6, 2024
1 parent 0bdf6b2 commit 0e502f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ jobs:

- name: Run chart-testing (list-changed)
id: list-changed
# The default branch name will be 'main' soon
run: |
changed=$(ct list-changed)
changed=$(ct list-changed --target-branch main)
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
Expand Down

0 comments on commit 0e502f0

Please sign in to comment.