From 5689263b3bd7f69886063ac56e4f0227814a16a3 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Thu, 2 May 2024 19:41:06 -0700 Subject: [PATCH] Rename detect change step --- .gitea/workflows/build-and-push.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 0f1aef61..fb9ac652 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -3,7 +3,7 @@ run-name: ${{ gitea.actor }} Triggered a new run 🚀 on: [push] jobs: - changes: + detect-changed-files: runs-on: ubuntu-latest outputs: python_files: ${{ steps.filter.outputs.python_files }} @@ -21,8 +21,8 @@ jobs: - 'helm/**' Lint-Python: runs-on: ubuntu-latest - needs: changes - if: ${{ needs.changes.outputs.python_files == 'true' }} + needs: detect-changed-files + if: ${{ needs.detect-changed-files.outputs.python_files == 'true' }} steps: - name: Check out repository code uses: actions/checkout@v4 @@ -43,8 +43,8 @@ jobs: if: steps.filter.outputs.python_files == 'true' Build-and-Push-Docker: - needs: changes - if: ${{ needs.changes.outputs.python_files == 'true' }} + needs: detect-changed-files + if: ${{ needs.detect-changed-files.outputs.python_files == 'true' }} steps: - name: Login to Docker Hub if: github.event_name != 'pull_request' @@ -67,8 +67,8 @@ jobs: ldooks/dragon-bot:${{ gitea.run_id }} sync-argocd-app: - needs: [changes, Build-and-Push-Docker] - if: ${{ needs.changes.outputs.python_files == 'true' }} + needs: [detect-changed-files, Build-and-Push-Docker] + if: ${{ needs.detect-changed-files.outputs.python_files == 'true' }} steps: - name: Sync app in ArgoCD uses: clowdhaus/argo-cd-action/@main