From a2e26d5a0f5c0e285b09f75f9214ab7b0fdbf99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Fri, 4 Feb 2022 15:05:53 +0100 Subject: [PATCH] ci: Only run chart-releaser after README is updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- .github/workflows/charts-release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 6857857a..f8d6b659 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -88,19 +88,19 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v4 with: file_pattern: charts/**/ - commit_message: Auto-update chart README + commit_message: "chore: Auto-update chart README" commit_user_name: k8s-at-home[bot] commit_user_email: k8s-at-home[bot]@users.noreply.github.com commit_author: k8s-at-home[bot] - name: Configure Git - if: ${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" == "false" + if: steps.create-commit.outputs.changes_detected == 'false' run: | git config user.name "k8s-at-home[bot]" git config user.email "k8s-at-home[bot]@users.noreply.github.com" - name: Run chart-releaser - if: ${{ steps.create-commit.outputs.changes_detected || 'unknown' }}" == "false" + if: steps.create-commit.outputs.changes_detected == 'false' uses: helm/chart-releaser-action@v1.2.1 with: charts_dir: charts/*