From 7bb5dea55eb96af19842604ea3a5e5c038f9915b Mon Sep 17 00:00:00 2001 From: hogashi Date: Mon, 23 Mar 2026 19:04:54 +0900 Subject: [PATCH] ci: avoid duplicate runs on push and pull_request Limit push trigger to main branch only so that PR branches only run CI via the pull_request event. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/nodejs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 50a7c90..94ad457 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -4,8 +4,9 @@ name: Node.js CI on: - - push - - pull_request + push: + branches: [main] + pull_request: jobs: test: