Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/scripts/enforce-oldest-review-order.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/oldest-review-order-reconcile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
type: string

concurrency:
# pending 실행은 최신 하나로 합쳐질 수 있으므로 자동 실행도 항상 전체를 재계산한다.
group: oldest-review-order-${{ github.repository }}
cancel-in-progress: false

Expand Down Expand Up @@ -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 }}
Expand Down
Loading