From 6ef5b6d289c4346059eed3594f1c50542ab47354 Mon Sep 17 00:00:00 2001 From: Martin Dimitrov Date: Wed, 15 Oct 2025 19:33:21 -0700 Subject: [PATCH] add diff condition check --- .gitea/workflows/build-homeassistant.yaml | 15 +-------------- .gitea/workflows/deploy-twilio.yaml | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/build-homeassistant.yaml b/.gitea/workflows/build-homeassistant.yaml index 69f9099..75e423e 100644 --- a/.gitea/workflows/build-homeassistant.yaml +++ b/.gitea/workflows/build-homeassistant.yaml @@ -13,23 +13,10 @@ jobs: files: packages/doorman-homeassistant/* secrets: token: ${{ github.token }} - - test: - runs-on: ubuntu-22.04 - needs: diff - if: ${{ always() }} - steps: - - name: check output - env: - ALLMYVARS: ${{ toJSON(vars) }} - DIFF: ${{ toJSON(needs) }} - run: | - echo $ALLMYVARS - echo $DIFF docker: needs: diff - if: ${{ needs.diff.outputs.is_changed }} + if: ${{ needs.diff.outputs.is_changed == 'true' }} uses: martin/chromart-gitea-actions/.gitea/workflows/docker-publish-private.yaml@main with: repository: ${{ github.repository }} diff --git a/.gitea/workflows/deploy-twilio.yaml b/.gitea/workflows/deploy-twilio.yaml index ed66f25..b859fdf 100644 --- a/.gitea/workflows/deploy-twilio.yaml +++ b/.gitea/workflows/deploy-twilio.yaml @@ -16,7 +16,7 @@ jobs: twilio: needs: diff - if: ${{ needs.diff.outputs.is_changed }} + if: ${{ needs.diff.outputs.is_changed == 'true' }} runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4