burr icon indicating copy to clipboard operation
burr copied to clipboard

feat: add milestone management workflow

Open hussain-s opened this issue 7 months ago • 1 comments

Add milestone management automation for release tracking.

Changes

  • add .github/workflows/milestone-management.yml to auto-assign milestones on merged PRs
  • support merged PRs targeting main and release/test branch patterns
  • add workflow_dispatch support to create or re-open upcoming X.Y.Z milestones
  • document milestone naming and branch mapping in scripts/README.md
  • add scripts/milestone_management_preview.py for local milestone-selection checks
  • add unit coverage for the branch-to-milestone logic in tests/test_milestone_management_preview.py

How I tested this

  • ran .venv311/bin/python -m pytest tests/
  • ran PRE_COMMIT_HOME=.pre-commit-cache .venv311/bin/pre-commit run --all-files
  • ran .venv311/bin/python -m pytest tests/test_milestone_management_preview.py
  • exercised scripts/milestone_management_preview.py manually for main, release branches, and unmanaged branches

Notes

  • milestone titles follow the X.Y.Z convention requested in issue #722
  • merged PRs to main pick the earliest open X.Y.Z milestone
  • merged PRs to release/test branches use the milestone inferred from the branch name
  • milestone creation is manual through workflow_dispatch; merged-PR assignment is automatic once milestones exist

Checklist

  • [x] PR has an informative and human-readable title (this will be pulled into the release notes)
  • [x] Changes are limited to a single goal (no scope creep)
  • [x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
  • [x] Any change in functionality is tested
  • [x] New functions are documented (with a description, list of inputs, and expected output)
  • [x] Placeholder code is flagged / future TODOs are captured in comments
  • [x] Project documentation has been updated if adding/changing functionality.

hussain-s avatar May 02 '26 07:05 hussain-s

This PR has been inactive for 16 days after receiving review feedback. Converting to draft.

Please mark it as ready for review when you have addressed the comments. If no activity occurs within 90 days, it will be closed automatically.

github-actions[bot] avatar May 18 '26 11:05 github-actions[bot]