From 87b6f75f662c84fb150cbaf3f74af4cc528ef556 Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Mon, 12 Sep 2022 21:19:08 +0200 Subject: [PATCH] chore(ci): check helm non committed changes --- .github/workflows/helm.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index c086da1..ee570ff 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -8,6 +8,16 @@ on: branches: [ "*" ] jobs: + diff: + name: diff + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: make -C charts/kamaji docs + - name: Checking if Helm docs is not aligned + run: if [[ $(git diff | wc -l) -gt 0 ]]; then echo ">>> Untracked changes have not been committed" && git --no-pager diff && exit 1; fi lint: runs-on: ubuntu-latest steps: