From 5e7b8b284469dc3c7d2bf7917fd2ab50f91e9b21 Mon Sep 17 00:00:00 2001 From: azu Date: Sat, 16 Aug 2025 13:51:40 +0900 Subject: [PATCH] ci: improve workflow triggers to prevent duplicate runs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Limit push events to master branch only - Keep pull_request events for all branches - This prevents duplicate workflow runs when PRs are created from repository branches Fixes #162 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f986e92..9e80cb5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,9 @@ name: test -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: test: name: "Test on Node.js ${{ matrix.node-version }} ${{ matrix.os }}"