fix: 增加 Changelog 文件名检测门禁
changelog-filename-gate / validate (pull_request) Failing after 13m52s

这个提交包含在:
yaosutu
2026-07-22 19:02:26 +08:00
父节点 8f08de40b6
当前提交 32bfbea0c9
共修改 5 个文件,包含 709 行新增和 0 行删除
@@ -0,0 +1,35 @@
name: changelog-filename-gate
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- edited
push:
branches:
- main
jobs:
validate:
name: validate
runs-on: ubuntu-latest
steps:
- name: Checkout full history
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Run regression tests
run: npm test
- name: Validate new changelog filenames
run: npm run check:filenames -- --event "$GITHUB_EVENT_PATH"