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