diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml index 4f5735cb..2324f31d 100644 --- a/.github/workflows/lint-test.yml +++ b/.github/workflows/lint-test.yml @@ -2,14 +2,9 @@ name: Lint and Test Charts on: push: - branches-ignore: - - master + branches: - main pull_request: - paths-ignore: - - '*.md' - - 'docs/**' - - 'tools/**' jobs: lint-test: @@ -40,10 +35,15 @@ jobs: - name: Run chart-testing (lint) run: ct lint --config ct.yaml + - name: Updated README.md + run: | + make README.md + git diff --exit-code -- README.md + - name: Create kind cluster uses: helm/kind-action@v1.2.0 - name: Run chart-testing (install) run: | kubectl create namespace cortex - ct install --config ct.yaml --namespace cortex + ct install --config ct.yaml --namespace cortex \ No newline at end of file diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml deleted file mode 100644 index 83de926a..00000000 --- a/.github/workflows/readme.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Generate README.md - -on: - push: - branches-ignore: - - main - - master - paths: - - values.yaml - -jobs: - generate: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: Generate README.md - run: | - make README.md - - - name: Commit changes - uses: EndBug/add-and-commit@v7 - with: - add: README.md - default_author: github_actions - message: "[skip ci] generate README.md" - signoff: true