From 91f6bbe0ce832968c2cc7fd38f2126364e14803a Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 11 Apr 2024 21:26:49 +0200 Subject: [PATCH] only run CI on main branch --- .github/workflows/c-cpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d021ca7..bdfe692 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -2,7 +2,7 @@ name: C/C++ CI on: push: - branches: [ "*" ] + branches: [ "main" ] pull_request: branches: [ "main" ]