Feature: Add Workflow for Manual Version Bumps
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 62/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, yaml
- 领域
- ci-cd
调研方向
该 issue 提供了一个完整的示例,用于新建 .github/workflows/version-bump.yml,其中包含一个 workflow_dispatch 的 choice 输入和 taj54/universal-version-bump@v1 action。请查看该 action 在 Marketplace 上的 README,了解 bump-type 输入以及它会编辑哪些版本文件。当该 workflow 在 Actions 标签页中出现并提供 patch/minor/major 选项,且手动运行能够更新版本时,即算完成。
由索引模型根据 Issue 内容生成。
描述
Proposed for NaturalIntelligence/fast-xml-parser.
Component
Other
Problem statement
Currently, updating the project version requires manual edits across version files, which increases maintenance overhead and introduces the risk of human error or inconsistent versioning across releases. Maintainers need a standardized, one-click way to trigger semantic version bumps (patch, minor, major) directly from the repository's Actions tab.
Proposed solution
Add a manually triggered (workflow_dispatch) GitHub Actions workflow powered by Universal Version Bump so maintainers can select the bump type directly from the Actions tab.
Example Workflow (.github/workflows/version-bump.yml)
name: Bump Version
on:
workflow_dispatch:
inputs:
bump_type:
description: "Version bump type (patch, minor, major)"
required: true
default: "patch"
type: choice
options:
- patch
- minor
- major
permissions:
contents: write
jobs:
bump:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Universal Version Bump
uses: taj54/universal-version-bump@v1
with:
bump-type: ${{ inputs.bump_type }}
Acceptance Criteria
- A workflow is visible in the Actions tab.
- Maintainers can choose the bump type (
patch,minor,major). - Running the workflow updates the version automatically using Universal Version Bump.
- (Optional) Extend the workflow later to include Git tagging + release creation.
Additional context
- Target Repository:
NaturalIntelligence/fast-xml-parser - GitHub Marketplace: Universal Version Bump
- Source Repository:
taj54/universal-version-bump - Why This Matters: Keeps project versions aligned with development progress, reduces manual overhead, and lays the foundation for future enhancements like automated tagging, changelog updates, and releases.
If you would like, I can open a PR to add this workflow.
- 主要语言
- JavaScript
- 星标
- 3.1k
- 派生
- 415
- 平均合并
- 4 天 15 小时
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NaturalIntelligence/fast-xml-parser 的其他 Issue
-
A processing instruction with no target passes validation, then the builder prints invalid XML可能已有人在做 @bardrop 于 7 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
NaturalIntelligence/fast-xml-parser#927 · 2 条评论 ·
维护者通常 3 天内回复
-
getMetaDataSymbol() declares a boxed Symbol可能已有人在做 @chiragbitoni 于 10 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
NaturalIntelligence/fast-xml-parser#890 · 1 条评论 ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
NaturalIntelligence/fast-xml-parser#888 · 2 条评论 ·
维护者通常 3 天内回复
-
ignoreDeclaration does not ignore lower case doctype declaration可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
NaturalIntelligence/fast-xml-parser#870 · 2 条评论 ·
维护者通常 3 天内回复
-
难度 3/5 半天 新手友好度 65/100
NaturalIntelligence/fast-xml-parser#932 · 1 条评论 ·
维护者通常 3 天内回复
查看 NaturalIntelligence/fast-xml-parser 的全部 Issue
相似的 Issue
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10可能已有人在做 @goranai 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
NL-BioImaging/OMERO.biomero#92 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 74/100
nicobailon/pi-web-access#710 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
ClockGU/clock-work-frontend#133 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
LinkNacional/woo-rede#367 ·