aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesseBot <jessebot@linux.com>2023-12-14 16:55:42 +0100
committerGitHub <noreply@github.com>2023-12-14 07:55:42 -0800
commitfe7ff5c4dbec0d91ee95708ddeb288761dada5f8 (patch)
tree15c3c9175403a93d0f3621c1c803b4599d908632
parent4538265412466e27dc138e3559a0ee528fd12096 (diff)
downloadseaweedfs-fe7ff5c4dbec0d91ee95708ddeb288761dada5f8.tar.xz
seaweedfs-fe7ff5c4dbec0d91ee95708ddeb288761dada5f8.zip
Update helm_ci.yml - add `ct` flag `--target-branch ${{ github.event.repository.default_branch }}` (#5106)
* Update helm_ci.yml - add ct link flag --target-branch ${{ github.event.repository.default_branch }} This validates that the chart version has been bumped * Update helm_ci.yml - add --target-branch to ct list-changed command
-rw-r--r--.github/workflows/helm_ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/helm_ci.yml b/.github/workflows/helm_ci.yml
index 5f1721ed4..86f6b83d0 100644
--- a/.github/workflows/helm_ci.yml
+++ b/.github/workflows/helm_ci.yml
@@ -36,16 +36,16 @@ jobs:
- name: Run chart-testing (list-changed)
id: list-changed
run: |
- changed=$(ct list-changed --chart-dirs k8s/charts)
+ changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }} --chart-dirs k8s/charts)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
- run: ct lint --all --validate-maintainers=false --chart-dirs k8s/charts
+ run: ct lint --target-branch ${{ github.event.repository.default_branch }} --all --validate-maintainers=false --chart-dirs k8s/charts
- name: Create kind cluster
uses: helm/kind-action@v1.8.0
- name: Run chart-testing (install)
- run: ct install --all --chart-dirs k8s/charts \ No newline at end of file
+ run: ct install --target-branch ${{ github.event.repository.default_branch }} --all --chart-dirs k8s/charts