Skip to content

chore: align PR templates and workflows with antdv-next - #73

Merged
aibayanyu20 merged 2 commits into
nextfrom
pr
Aug 20, 2026
Merged

chore: align PR templates and workflows with antdv-next#73
aibayanyu20 merged 2 commits into
nextfrom
pr

Conversation

@cc-hearts

Copy link
Copy Markdown
Member

🤔 This is a ...

  • 🆕 New feature
  • 🐞 Bug fix
  • 📝 Site / documentation improvement
  • ⏩ Workflow
  • ❓ Other (about what?)

🔗 Related Issues

Sync PR templates and workflows from antdv-next to keep contribution experience consistent across repos.

💡 Background and Solution

Problem: vue-components had no PR template and no semantic PR title validation, while antdv-next already has both. Contributors get inconsistent guidance and PR titles are not validated.

Solution:

  • Add .github/PULL_REQUEST_TEMPLATE.md (EN) and .github/PULL_REQUEST_TEMPLATE_CN.md (CN) synced from antdv-next/.github/PULL_REQUEST_TEMPLATE*.md
    • adapt base branch mainnext
    • adapt cross-links to antdv-next/vue-components repo
    • adapt changelog reference to generic Keep a Changelog (no dedicated site for vue-components)
  • Add .github/workflows/semantic-pull-requests.yml synced from antdv-next
    • validates PR title follows Conventional Commits (amannn/action-semantic-pull-request@v6)
    • enforces subjectPattern: ^(?![A-Z]).+$ (subject must not start with uppercase)
    • adapt repository guard to antdv-next/vue-components

📝 Change Log

Language Changelog
🇺🇸 English Add PR templates and semantic PR title validation synced from antdv-next
🇨🇳 Chinese 新增 PR 模板与语义化标题校验,与 antdv-next 保持一致

- add PULL_REQUEST_TEMPLATE.md (EN) and PULL_REQUEST_TEMPLATE_CN.md (CN)
- sync structure from antdv-next/.github/PULL_REQUEST_TEMPLATE*.md
- adapt base branch to next and repo links to vue-components
- adapt changelog reference to generic Keep a Changelog
sync from antdv-next/.github/workflows/semantic-pull-requests.yml
- validate PR title follows Conventional Commits via amannn/action-semantic-pull-request@v6
- adapt repository guard to antdv-next/vue-components
@aibayanyu20
aibayanyu20 merged commit e113d76 into next Aug 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants