From 06b93b9556be5c47caba5e64027fdb7562983a77 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Mon, 17 Oct 2022 04:26:02 -0700 Subject: [PATCH] CI: correct automatic mach-examples updates Signed-off-by: Stephen Gutekanst --- .github/workflows/update_examples.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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: |