diff --git a/.github/workflows/sync-examples.yml b/.github/workflows/sync-examples.yml index c67c8c5c..0abbc323 100644 --- a/.github/workflows/sync-examples.yml +++ b/.github/workflows/sync-examples.yml @@ -1,12 +1,8 @@ name: '[CI] Sync Examples' on: - push: # Only run on merges into main that modify files under examples/ - branches: - - main - paths: - - examples/** - - .github/workflows/sync-examples.yml # Test that workflow works when changed + release: + types: [published] jobs: build: