mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
* Migrate workflows to Blacksmith * Update .github/workflows/preview-build.yml Signed-off-by: thinkasany <480968828@qq.com> * preview-build.yml use runs-on: ubuntu-latest (#56367) * Initial plan * fix: add named exports for ColorPalettes and ColorPaletteToolDark to fix SSR compatibility Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com> * test: preview-build use ubuntu-latest --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com> Co-authored-by: thinkasany <480968828@qq.com> --------- Signed-off-by: thinkasany <480968828@qq.com> Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: thinkasany <480968828@qq.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com>
25 lines
737 B
YAML
25 lines
737 B
YAML
name: Verify Package Version
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, edited, reopened, synchronize, ready_for_review]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
verify:
|
|
permissions:
|
|
contents: read # for actions/checkout to fetch code
|
|
pull-requests: write # for actions-cool/verify-package-version to comment on PR
|
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
|
if: contains(github.event.pull_request.title, 'changelog') || contains(github.event.pull_request.title, 'release')
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: verify-version
|
|
uses: actions-cool/verify-package-version@v1
|
|
with:
|
|
title-include-content: docs
|
|
title-include-version: true
|
|
open-comment: true
|