CI: correct automatic mach-examples updates

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-10-17 04:26:02 -07:00
parent 3d0a21c274
commit 06b93b9556

View file

@ -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: |