diff --git a/.github/workflows/snippet_generate.yml b/.github/workflows/snippet_generate.yml index 48436a2dac..908880dc06 100644 --- a/.github/workflows/snippet_generate.yml +++ b/.github/workflows/snippet_generate.yml @@ -2,6 +2,8 @@ name: Generate Snippet Code Files on: push: + branches: + - main paths: - '**/code*.yaml' @@ -26,5 +28,5 @@ jobs: with: commit-message: snippet code test files generated by action title: Code snippets from snippet-generate action - body: This is an auto-generated PR with code snippets from yaml files + body: This is an auto-generated PR with code snippets from yaml files. labels: code snippets, automated pr