From 047a9d9b11e5529aebad483e99738549141414bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=BC=ED=98=81?= Date: Thu, 27 Aug 2026 02:36:25 +0900 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=EB=A6=AC=EB=B7=B0=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=20=EC=83=81=ED=83=9C=EB=A5=BC=20=EC=A0=84=EC=B2=B4=20?= =?UTF-8?q?=EC=9E=AC=EA=B3=84=EC=82=B0=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/enforce-oldest-review-order.test.mjs | 2 ++ .github/workflows/oldest-review-order-reconcile.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/scripts/enforce-oldest-review-order.test.mjs b/.github/scripts/enforce-oldest-review-order.test.mjs index 6107d65438..053f41a049 100644 --- a/.github/scripts/enforce-oldest-review-order.test.mjs +++ b/.github/scripts/enforce-oldest-review-order.test.mjs @@ -747,6 +747,8 @@ test("무권한 이벤트 감지와 trusted status/replay workflow를 분리한 assert.match(workflow, /^\s{2}workflow_run:\s*$/m); assert.match(workflow, /^name: Oldest Review Order Reconcile\s*$/m); assert.match(workflow, /workflows: \[Oldest Review Order Event\]/); + assert.match(workflow, /^\s{10}RECALCULATE_SCOPE: all\s*$/m); + assert.doesNotMatch(workflow, /AFFECTED_PULL_REQUEST:/); assert.doesNotMatch(workflow, /^\s{2}pull_request(?:_review)?:\s*$/m); assert.doesNotMatch(workflow, /^\s{2}pull_request_target:\s*$/m); assert.match(workflow, /^\s{2}workflow_dispatch:\s*$/m); diff --git a/.github/workflows/oldest-review-order-reconcile.yml b/.github/workflows/oldest-review-order-reconcile.yml index 5d50b8707e..b3902939c7 100644 --- a/.github/workflows/oldest-review-order-reconcile.yml +++ b/.github/workflows/oldest-review-order-reconcile.yml @@ -16,6 +16,7 @@ on: type: string concurrency: + # pending 실행은 최신 하나로 합쳐질 수 있으므로 자동 실행도 항상 전체를 재계산한다. group: oldest-review-order-${{ github.repository }} cancel-in-progress: false @@ -44,8 +45,7 @@ jobs: - name: Reconcile oldest review order status env: MODE: recalculate - RECALCULATE_SCOPE: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.pull_requests[0].number && 'affected' || 'all' }} - AFFECTED_PULL_REQUEST: ${{ github.event.workflow_run.pull_requests[0].number }} + RECALCULATE_SCOPE: all GITHUB_TOKEN: ${{ github.token }} GITHUB_REPOSITORY: ${{ github.repository }} GITHUB_EVENT_PATH: ${{ github.event_path }}