From 725a614debe3d34d1547c1659ef5ad49f8f6c5df Mon Sep 17 00:00:00 2001 From: Karel Suta Date: Tue, 3 Oct 2023 09:31:53 +0200 Subject: [PATCH] Run Update CodeFlare operator GH workflow for every push to main --- .github/workflows/update-codeflare-operator.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-codeflare-operator.yml b/.github/workflows/update-codeflare-operator.yml index 7e50a9e1..c0c652da 100644 --- a/.github/workflows/update-codeflare-operator.yml +++ b/.github/workflows/update-codeflare-operator.yml @@ -1,15 +1,14 @@ name: Update CodeFlare operator with latest changes from MCAD on: - workflow_run: - workflows: [Build and Push dev MCAD image into Quay] - types: - - completed + push: + branches: + - 'main' jobs: update-codeflare-operator: runs-on: ubuntu-latest - if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' && github.repository == 'project-codeflare/multi-cluster-app-dispatcher' + if: github.repository == 'project-codeflare/multi-cluster-app-dispatcher' steps: - name: checkout MCAD code