From 6963ea20afaa398966b2d28496c7dc1183238586 Mon Sep 17 00:00:00 2001 From: Daijiro Fukuda Date: Mon, 12 May 2025 15:01:15 +0900 Subject: [PATCH] CI: Do not run CI in duplicate Signed-off-by: Daijiro Fukuda --- .github/workflows/linux.yml | 6 ++++-- .github/workflows/windows.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 0d48c8a..410fe31 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,7 +1,9 @@ name: Testing on Ubuntu on: - - push - - pull_request + push: + branches: + - main + pull_request: jobs: build: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 8e97ac5..d3666f8 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,7 +1,9 @@ name: Testing on Windows on: - - push - - pull_request + push: + branches: + - main + pull_request: jobs: build: runs-on: ${{ matrix.os }}