From 348aa00e06af865d2f6a68371dbd4d42104c3bde Mon Sep 17 00:00:00 2001 From: Jan Matyas Date: Fri, 14 Feb 2025 15:52:48 +0100 Subject: [PATCH] CI: Run the "snapshot" action only on the main branch Make sure that the "snapshot" action only runs when pushing changes to the main branch - "riscv". No need to run it for individual commits under side-branches. Change-Id: I5877a3b5635fc6053af7718e38a4d5a093e02744 Signed-off-by: Jan Matyas --- .github/workflows/snapshot.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 4a1866b2a..010db92f9 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -2,7 +2,10 @@ # Copyright (C) 2020 by Tarek BOUCHKATI -on: push +on: + push: + branches: + - riscv name: OpenOCD Snapshot