3b1b / 3b1b/manim

Feature: Add Workflow for Manual Version Bumps

未關閉
#2,387 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
93.9k
分支
7.7k
平均合併
2 天 13 小時
30 天內合併 PR
4

描述

You should add a GitHub Actions workflow that allows you to **manually trigger version bumps**. This will help you keep your version and changelog consistent in the project.

**Proposed Workflow**
```yaml
name: Version Bump

permissions:
contents: write
pull-requests: write

on:
workflow_dispatch:
inputs:
release_type:
description: 'Select version bump type'
required: true
default: 'patch'
type: choice
options:
- patch
- minor
- major

jobs:
bump:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: Universal Version Bump
uses: taj54/universal-version-bump@v0.8.2
with:
release_type: ${{ inputs.release_type }}
git_tag: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```

### ✅ Acceptance Criteria

- [ ] You can see the workflow in the **Actions** tab.
- [ ] You can choose bump type (`patch`, `minor`, `major`).
- [ ] The workflow bumps the version .
- [ ] (Optional) You can extend this workflow later to include tagging + release creation.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

在 .github/workflows 目錄中查找現有的 GitHub Actions 工作流。了解專案目前如何管理版本(例如 pyproject.toml、setup.py、__version__)。提議的 workflow 使用 'taj54/universal-version-bump' action;檢查其文件。在 fork 中測試該 workflow,以確保它正確更新版本文件並建立 pull request。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, yaml
領域
ci-cd, release
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。