diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index 0e05f11a..7aadf71d 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -1,9 +1,8 @@ name: Update examples on: - workflow_run: - workflows: ["CI"] - types: - - completed + push: + branches: + - "main" concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -21,7 +20,7 @@ jobs: - name: 'mach-examples: update mach submodule' run: | cd libs/mach - git pull + git checkout origin/main cd ../../ - name: 'mach-examples: push submodule update' run: |