From 776ac470ddc6310103edc4e203fc1a452ae4c3bd Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Fri, 21 Feb 2025 19:07:03 +0000 Subject: [PATCH] chore(actions): only trigger CI for `main` branch Prevents double running of CI for secondary branches which are being PR'd into main. This also makes checks only run for branches if they're being PR'd as a consequence. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f21ebfd..818d2cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,8 @@ name: CI on: push: + branches: + - main paths-ignore: - '**/*.md' - 'examples/**'