Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Linting Charts

on:
push
on: push

jobs:
linting:
Expand All @@ -18,13 +17,13 @@ jobs:
- name: Run chart-testing (lint-changed)
id: list-changed
run: |
changed=$(ct list-changed)
changed=$(ct list-changed --target-branch master)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi

- name: Run chart-testing (lint)
run: ct lint
run: ct lint --target-branch master

- name: ArtifactHUB Lint
env:
Expand All @@ -33,4 +32,3 @@ jobs:
curl -LO https://github.com/artifacthub/hub/releases/download/v${AH_CLI_VERSION}/ah_${AH_CLI_VERSION}_linux_amd64.tar.gz
tar xvzf ah_${AH_CLI_VERSION}_linux_amd64.tar.gz
./ah lint

6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- name: Run chart-testing (lint-changed)
id: list-changed
run: |
changed=$(ct list-changed)
changed=$(ct list-changed --target-branch master)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi

- name: Run chart-testing (lint)
run: ct lint
run: ct lint --target-branch master

- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.13.0
Expand All @@ -39,4 +39,4 @@ jobs:
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true --wait

- name: Run chart-testing (install)
run: ct install --helm-extra-set-args "--set=kindtest=true"
run: ct install --target-branch master --helm-extra-set-args "--set=kindtest=true"
Loading