diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 516f294a..db264fa6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,15 +22,15 @@ jobs: with: fetch-depth: 0 + - name: Check diff chart + run: make ci:diff + - name: Setup Helm run: make ci:enable:helm - name: Setup Kubeval run: make ci:enable:kubeval - - name: Check diff chart - run: make ci:diff - - name: Check chart version run: make ci:diff:chart | xargs -I{} /bin/bash -c "cd ./{} && ../.github/scripts/check-version.sh || exit 255" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e1dfb920..f6440301 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,11 +1,9 @@ name: Publish Helm Chart on: - workflow_run: - workflows: - - "Test Helm Chart" - types: - - completed + push: + branches: + - "master" permissions: contents: write diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4aef21b..d6432d8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,7 @@ name: Test Helm Chart on: - workflow_run: - workflows: - - "Lint Helm Chart" - types: - - completed + push: branches-ignore: - "gh-pages"