AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
feat(rnd,infra): Add Helm linting in CI (#7633)
Aarushiac45b7cae94f
diff --git a/.github/workflows/autogpt-infra-ci.yml b/.github/workflows/autogpt-infra-ci.ymlindex 2605cd02de..4f3e764699 100644--- a/.github/workflows/autogpt-infra-ci.yml+++ b/.github/workflows/autogpt-infra-ci.yml@@ -23,6 +23,9 @@ jobs:steps:- name: Checkoutuses: actions/checkout@v2+ with:+ fetch-depth: 0+- name: TFLintuses: pauloconnor/[email protected]env:@@ -31,3 +34,23 @@ jobs:tflint_path: terraform/tflint_recurse: truetflint_changed_only: false++ - name: Set up Helm+ uses: azure/[email protected]+ with:+ version: v3.14.4++ - name: Set up chart-testing+ uses: helm/[email protected]++ - name: Run chart-testing (list-changed)+ id: list-changed+ run: |+ changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})+ if [[ -n "$changed" ]]; then+ echo "changed=true" >> "$GITHUB_OUTPUT"+ fi++ - name: Run chart-testing (lint)+ if: steps.list-changed.outputs.changed == 'true'+ run: ct lint --target-branch ${{ github.event.repository.default_branch }}\ No newline at end of file