From b09d34593e998d6dd33e956ecd3f1e0b37154117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Damm-Johnsen?= Date: Tue, 24 Feb 2026 22:32:28 +0100 Subject: [PATCH] Update snippet-generate action to only run on pushes to main --- .github/workflows/snippet_generate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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