Skip to content

Commit c905330

Browse files
author
NBL Agent
committed
ci: run verify:release on main push (fast verify for PRs)
v1.2.3 audit §15: release commits must run the full release gate (verify + health n=3000 + adjacent-rarity-matrix + BattlePower calibration + matched-rarity + Similar-BP); pull requests keep the fast npm run verify.
1 parent 39f5807 commit c905330

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/verify.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,13 @@ jobs:
2020
with:
2121
node-version: 22
2222

23-
- name: Verify
24-
run: npm run verify
23+
# v1.2.3 (audit §15): 普通 PR 只跑快速 verify;正式版本提交(push 到 main)
24+
# 必须跑 verify:release(verify + health-metrics n=3000 + adjacent-rarity-matrix
25+
# + BattlePower calibration + matched-rarity + Similar-BP)。
26+
- name: Verify (PR fast gate)
27+
if: github.event_name == 'pull_request'
28+
run: npm run verify
29+
30+
- name: Verify Release (main release gate)
31+
if: github.event_name == 'push'
32+
run: npm run verify:release

0 commit comments

Comments
 (0)