Skip to content

Assign 14.0 milestone to PRs merged to main - #20390

Merged
Jose Perez Rodriguez (joperezr) merged 4 commits into
mainfrom
copilot/retarget-docs-release-14-0
Sep 23, 2026
Merged

Jose Perez Rodriguez (joperezr) merged 4 commits into
mainfrom
copilot/retarget-docs-release-14-0

Conversation

Copilot AI commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

Pull requests merged to main are still assigned the 13.6 milestone, which causes the documentation workflow to derive release/13.6 as its target.

This change:

Follow-up at 13.6 ship: create the 13.6.x milestone and change the policy's release/13.6 rule to 13.6.x. The bot cannot assign a closed milestone.

The documentation workflow already prioritizes the source PR milestone when resolving its target branch, so no docs-workflow override is needed.

microsoft/aspire.dev does not expose release/14.0 yet. Until that branch exists, the docs workflow will continue using its existing latest-release fallback.

Validation:

  • Parsed the policy file as YAML
  • Confirmed the open 14.0 and 13.6 milestones exist in microsoft/aspire
  • Verified from PR timelines that the policy bot assigns milestones on its own, including when the workflow run failed

Fixes # (issue)

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

Copilot AI added 2 commits September 23, 2026 17:32
Replace the docs-workflow target override with the milestone assignment update that drives its existing branch selection.

Co-authored-by: Copilot <[email protected]>
Copilot AI changed the title Target Aspire docs PRs at release/14.0 Assign 14.0 milestone to PRs merged to main Sep 23, 2026
The workflow was added in #16167 as a temporary replacement for the
policy bot milestone assignment, which broke during the repo migration.
The policy bot has been working again since early May 2026, so both now
run on every merged PR and race. The duplicate also causes harm: before a
release ships, the workflow fails looking up a nonexistent X.Y.x
milestone, and after ship the bot strips the workflow's X.Y.x milestone.

Keep .github/policies/milestoneAssignment.prClosed.yml as the single
source of milestone assignment.

Co-authored-by: Copilot App <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20390

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20390"

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

1 / 99 PR test projects · 0 PR jobs, from 1 changed file.

Selected PR test projects (1 / 99)

Infrastructure.Tests

Selected PR jobs (0)

none


How these were chosen — grouped by what changed

📄 .github/workflows/milestone-assignment.yml (changed)
→ 1 directly: Infrastructure.Tests

Job reasons

none


Selection computed for commit 6411797.

@joperezr
Jose Perez Rodriguez (joperezr) merged commit eeff3a9 into main Sep 23, 2026
32 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 14.0 milestone Sep 23, 2026
Mitch Denny (mitchdenny) added a commit that referenced this pull request Sep 30, 2026
## Description

Advance the repository product version from 14.0 to 17.0 for the next
development cycle, following the version-bump history in #19139 and
#20037 and the milestone policy update in #20390.

The product version change is confined to `eng/Versions.props`: set
`MajorVersion` to `17`, retaining minor/patch `0`, `preview.1`, and the
existing stabilization settings. Keep the dashboard image pinned to
`13.6` because changing the product version does not publish a matching
image; update the accompanying comment to avoid referring to the old
development version.

Update `.github/policies/milestoneAssignment.prClosed.yml` so the `main`
rule assigns the existing open `17.0` milestone instead of `14.0`.
Preserve the `release/13.6` rule. This uses the policy bot retained by
#20390, not the removed milestone-assignment workflow.

Add the `bump-aspire-version` skill with a C# file-based app, requiring
no extra packages, that deterministically updates product version
components and the specified branch's milestone together. The app
validates both inputs before writing, rejects missing or ambiguous
matches, preserves unrelated content and line endings, and is
idempotent. It resolves repository paths relative to its source file
rather than the working directory or build cache. The skill requires
confirming the milestone exists and is open before running it; the app
does not modify GitHub milestones.

```bash
dotnet run --file .agents/skills/bump-aspire-version/BumpVersion.cs -- 17.0 --branch main --milestone 17.0
```

Validation:
- Parsed the XML and verified `17.0.0`, unchanged `VersionPrefix`, and
no other property changes.
- Parsed policy YAML and verified only the `main` milestone changed;
confirmed `17.0` is open on GitHub.
- Compiled and ran the C# app against this checkout; both files were
unchanged.
- Ran the C# app against isolated pre-bump files and verified exact
14.0-to-17.0 edits, idempotence, rejection of invalid inputs without
partial edits, CRLF preservation, and release-branch isolation.
- Ran `git diff --check`.

The skill directs agents to review the complete diff and repeat the
command to verify idempotence. No standalone test file is included. No
full repository build or .NET test suite run. Live policy-bot execution
is not exercised locally.

Fixes # (issue)

## Checklist

- Is this feature complete?
  - [x] Yes. Ready to ship.
  - [ ] No. Follow-up changes expected.
- Are you including unit tests for the changes and scenario tests if
relevant?
  - [ ] Yes
  - [x] No
- Did you add public API?
  - [ ] Yes
    - If yes, did you have an API Review for it?
      - [ ] Yes
      - [ ] No
- Did you add `<remarks />` and `<code />` elements on your triple slash
comments?
      - [ ] Yes
      - [ ] No
  - [x] No
- Does the change make any security assumptions or guarantees?
  - [ ] Yes
    - If yes, have you done a threat model and had a security review?
      - [ ] Yes
      - [ ] No
  - [x] No

---------

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 3ec9489f-7bc0-445d-98a2-db2ac69570cd
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants