Add manual-dispatch release workflow#706
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📜 Recent review details⏰ Context from checks skipped due to timeout. (5)
📝 WalkthroughWalkthroughAdds a manually triggered GitHub Actions release workflow supporting patch, minor, major, or explicit semantic-version releases, with validation, version commits, pushes to ChangesRelease pipeline
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Maintainer
participant ReleaseWorkflow
participant GitRepository
participant GitHubRelease
Maintainer->>ReleaseWorkflow: Dispatch with bump or explicit version
ReleaseWorkflow->>GitRepository: Validate version and existing refs
ReleaseWorkflow->>GitRepository: Commit version bump and push to main
ReleaseWorkflow->>GitHubRelease: Create release for the new tag
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 048903a5-dd89-4dc5-bb3d-92bd9ab1bda7
📒 Files selected for processing (1)
.github/workflows/release.yml
📜 Review details
⏰ Context from checks skipped due to timeout. (5)
- GitHub Check: build (3.11)
- GitHub Check: build (3.10)
- GitHub Check: build (3.9)
- GitHub Check: build (3.13)
- GitHub Check: build (3.12)
🧰 Additional context used
🪛 zizmor (1.26.1)
.github/workflows/release.yml
[warning] 36-40: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
Summary
workflow_dispatchGitHub Action (.github/workflows/release.yml) that automates the existing manual release process: bump__version__indagshub/__init__.py, commit tomain, and cut a GitHub Release (auto-generated notes), which in turn triggers the existingpython-publish.ymlPyPI publish on release.bump(patch/minor/major),explicit_version(overrides bump),release_title_suffix(appended to release title),draft(create as draft to review before publishing).Test plan
workflow_dispatchwithdraft: trueon a test version and confirm it bumps the version, commits to main, and creates a draft release without publishing to PyPI.python-publish.ymlstill fires correctly when the draft release is published.