You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ensure-stable-version.yml workflow has issues that cause dev suffix stripping commits to appear in feature branches:
Manual PR merge required: The workflow creates a PR to strip dev suffix, but requires manual merge. This delays releases and creates manual work.
Test overhead: The version-only change runs full test suite unnecessarily, wasting CI resources.
Version leakage: When these PRs (chore: strip dev suffix for stable release 0.5.3 #109, etc.) merge to main → develop → feature branches, the stripped version leaks into development branches where it shouldn't be.
Current Workflow
.github/workflows/ensure-stable-version.yml:
Triggers on push to main when src/version.py changes
Problem
The
ensure-stable-version.ymlworkflow has issues that cause dev suffix stripping commits to appear in feature branches:Manual PR merge required: The workflow creates a PR to strip dev suffix, but requires manual merge. This delays releases and creates manual work.
Test overhead: The version-only change runs full test suite unnecessarily, wasting CI resources.
Version leakage: When these PRs (chore: strip dev suffix for stable release 0.5.3 #109, etc.) merge to main → develop → feature branches, the stripped version leaks into development branches where it shouldn't be.
Current Workflow
.github/workflows/ensure-stable-version.yml:src/version.pychangesbot/strip-dev-suffix-X.Y.ZProposed Solution
Modify the workflow to:
--adminflag or enabling auto-merge on the repoImplementation Details
Option 1: Skip Tests for Bot PRs
Add to
.github/workflows/test.yml:Option 2: Auto-merge with Admin Override
In
ensure-stable-version.yml:Option 3: Use Auto-merge Feature
Enable auto-merge on the repo and use:
Expected Outcome
References
.github/workflows/ensure-stable-version.yml