Skip to content

Commit 348aa00

Browse files
committed
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 <[email protected]>
1 parent 8f59570 commit 348aa00

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/snapshot.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
# Copyright (C) 2020 by Tarek BOUCHKATI <[email protected]>
44

5-
on: push
5+
on:
6+
push:
7+
branches:
8+
- riscv
69

710
name: OpenOCD Snapshot
811

0 commit comments

Comments
 (0)