hl-api-changelog/.gitea/workflows/validate-changelog-filenames.yml
API Changelog Bot e5b0d7d7e7
一些检查失败了
changelog-filename-gate / validate (push) Has been cancelled
fix(workflow): 恢复 Actions 执行器并支持手动触发 (#24)
2026-07-23 11:04:57 +08:00

37 行
681 B
YAML

name: changelog-filename-gate
on:
workflow_dispatch:
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"