From db734d60507aaf49625a6b1a549ed2b44b812f35 Mon Sep 17 00:00:00 2001 From: Ubugeeei Date: Sun, 24 May 2026 02:16:48 +0900 Subject: [PATCH] ci: trigger CI on push to main, not just pull requests Closes #48. Ensures the main branch always has a known-good build status, and avoids the case where a stale PR result is the most recent signal we have for mainline. Concurrency is updated to only cancel in-progress runs for PRs, never for main. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09fef91..29d11fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,13 +2,16 @@ name: CI on: pull_request: + push: + branches: + - main permissions: contents: read concurrency: - group: ci-${{ github.ref }} - cancel-in-progress: true + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: node: