Skip to content

Fix milestone and draft-release workflows; mark private dependencies - #2419

Merged
david-driscoll merged 1 commit into
mainfrom
claude/workflows-private-deps-3686d9
Nov 21, 2026
Merged

david-driscoll merged 1 commit into
mainfrom
claude/workflows-private-deps-3686d9

Conversation

@david-driscoll

Copy link
Copy Markdown
Member

Why

  • Release notes never refreshed. The draft got generated notes once, and omitBodyDuringUpdate: true froze them.
  • Drafts were always named "next patch". GitVersion can't see PR labels, so drafts got renamed by hand, and a run already in flight could leave a stale draft behind.
  • close-milestone ran 3× per release. With no types: filter, two of the runs crashed in the old node12 sync-milestone.
  • Private dependencies landed in "Other Items". .github/release.yml filed them under :briefcase: private-dependencies, but the label is :truck: private-dependencies.

What

Milestones and draft release

  • update-milestone.yml, draft-release.yml and close-milestone.yml now call the reusable workflows in Add release-milestones: label-based milestones and always-fresh draft releases actions#1821 (release-milestones). They no longer install mise/.NET.
    • Next version: the latest stable release, bumped by the labels of the PRs merged since then. :boom: breaking change → major (minor while 0.x), :rocket: feature/:fire: enhancement → minor, anything else → patch. Rename the pending milestone higher by hand to force a bigger release.
    • After every merge: one pending milestone holds the merged PRs, the issues they close and the open PRs, and the draft's notes are regenerated.
    • On release: published: the milestone gets exactly the PRs since the previous release (plus the issues they close), open items move on, and it closes. Stale milestones close and stale drafts are deleted.
    • Runs: draft-release and close-milestone share one non-cancelling concurrency group. Each run reconciles everything, so a skipped run is repaired by the next. update-milestone drops its every-branch push trigger.
  • .github/release.yml: fixed the private-dependencies label (:truck:) and the help labels (:hatching_chick: good first issue, :pray: help wanted). oxfmt reformatted the touched YAML to this repository's style.

Private dependencies (.github/renovate.json)

Pairs with RocketSurgeonsGuild/.github#16. That PR marks shared build/test/tooling dependencies private, plus anything under build/test(s)/sample(s)/benchmarks/docs. Rules here run after the preset:

  • Public (shipped from src/Testing.*): TUnit, xunit, FakeItEasy, NSubstitute, Verify.FakeItEasy/NSubstitute/SourceGenerators and the Roslyn packages src/Testing.SourceGenerators builds on. The org preset marks these private everywhere else.
  • Private: BeaKona.AutoInterfaceGenerator (PrivateAssets=all).

Mislabeled Renovate PRs (report only, not relabeled)

From the merged Renovate PRs since 2026-09-21 (plus open ones), judged by where each package is referenced:

19 labelled private, should be public:

26 labelled public, should be private:

Merge order

  1. Add release-milestones: label-based milestones and always-fresh draft releases actions#1821, then tag v0.4.0 on its merge commit. These workflows reference @v0.4.0 and fail until it exists.
  2. Mark shared build, test and tooling dependencies private .github#16 (the preset). The local rules here only make full sense with it.
  3. This PR.

Verification

  • actionlint is clean on the changed workflows. renovate-config-validator reports no errors for .github/renovate.json.
  • The reconcile was dry-run against this repository's live milestones and releases (read-only).
  • Not run on Actions: it needs the v0.4.0 tag.

🤖 Generated with Claude Code

…e dependencies

- update-milestone, draft-release and close-milestone call the reusable
  workflows in RocketSurgeonsGuild/actions (@v0.4.0): label-based next version,
  one pending milestone, draft notes regenerated on every merge, and the
  released milestone closed with exactly what shipped
- release.yml uses the real 🚚 private-dependencies label and the emoji
  help labels
- renovate.json marks this repository's shipped dependencies public and its
  test/sample-only ones private, on top of the org preset

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@david-driscoll david-driscoll added the 🔨 chore Just keeping things neat and tidy label Nov 21, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@github-actions github-actions Bot added this to the v11.0.2 milestone Nov 21, 2026
@github-actions

Copy link
Copy Markdown

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit e922106. ± Comparison against base commit 7fa79cc.

@david-driscoll
david-driscoll added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit c736188 Nov 21, 2026
10 checks passed
@david-driscoll
david-driscoll deleted the claude/workflows-private-deps-3686d9 branch November 21, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 chore Just keeping things neat and tidy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant