From 15dd00806ed45b0a5cb55fad601e445ee394a1f2 Mon Sep 17 00:00:00 2001 From: Martin Dimitrov Date: Wed, 15 Oct 2025 17:57:30 -0700 Subject: [PATCH] add diff job --- .gitea/workflows/build-homeassistant.yaml | 9 +++++++++ .gitea/workflows/deploy-twilio.yaml | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-homeassistant.yaml b/.gitea/workflows/build-homeassistant.yaml index 24b1942..94c19ea 100644 --- a/.gitea/workflows/build-homeassistant.yaml +++ b/.gitea/workflows/build-homeassistant.yaml @@ -5,7 +5,16 @@ on: branches: [main] jobs: + diff: + uses: martin/chromart-gitea-actions/.gitea/workflows/diff-output.yaml@main + with: + repository: ${{ github.repository }} + ref: ${{ github.ref }} + files: packages/doorman-homeassistant/* + docker: + needs: diff + if: ${{ needs.diff.outputs.is_changed }} 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 6a19e74..711a9a6 100644 --- a/.gitea/workflows/deploy-twilio.yaml +++ b/.gitea/workflows/deploy-twilio.yaml @@ -5,7 +5,16 @@ on: branches: [main] jobs: - docker: + diff: + uses: martin/chromart-gitea-actions/.gitea/workflows/diff-output.yaml@main + with: + repository: ${{ github.repository }} + ref: ${{ github.ref }} + files: packages/** + + twilio: + needs: diff + if: ${{ needs.diff.outputs.is_changed }} runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4