mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
- Bind release tag to origin/main: PR body, end-of-run hint, and cli/RELEASE.md now use `git tag $TAG origin/main` so the tag is always placed on the merged commit, regardless of local branch state - Reject prerelease tags in version computation: if the latest cli-v* tag contains non-X.Y.Z characters (e.g., -rc.1), exit with a clear message instead of crashing in node parsing - Add pr-scripts.yml workflow: runs publish-cli-test.sh on scripts/** changes so the release script regression suite gates PRs - Add Test 11 covering prerelease tag rejection
19 lines
382 B
YAML
19 lines
382 B
YAML
name: PR Scripts
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'scripts/**'
|
|
- '.github/workflows/pr-scripts.yml'
|
|
|
|
jobs:
|
|
publish-cli-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '21'
|
|
- run: bash scripts/tests/publish-cli-test.sh
|