Skip to content

Disable macOS GitHub Actions jobs by default; opt-in Templates tests on non-PR runs#15616

Open
Copilot wants to merge 2 commits intomainfrom
copilot/disable-macos-jobs-for-prs
Open

Disable macOS GitHub Actions jobs by default; opt-in Templates tests on non-PR runs#15616
Copilot wants to merge 2 commits intomainfrom
copilot/disable-macos-jobs-for-prs

Conversation

Copy link
Contributor

Copilot AI commented Mar 26, 2026


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI requested a review from radical March 26, 2026 08:19
@radical radical marked this pull request as ready for review March 26, 2026 08:20
@radical radical requested a review from eerhardt as a code owner March 26, 2026 08:20
Copilot AI review requested due to automatic review settings March 26, 2026 08:20
@github-actions
Copy link
Contributor

github-actions bot commented Mar 26, 2026

🚀 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 -- 15616

Or

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

Co-authored-by: radical <1472+radical@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/4d11feba-f6cf-44d8-ba5a-f8db859bef2b
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s CI test-matrix defaults so macOS GitHub Actions coverage is opt-in rather than opt-out, and selectively enables macOS for template tests on non-PR GitHub Actions runs.

Changes:

  • Change RunOnGithubActionsMacOS default from enabled (outside PRs) to disabled everywhere unless explicitly set.
  • Opt Aspire.Templates.Tests into macOS runs only on GitHub Actions non-PR builds.
  • Update CI documentation to reflect the new macOS-default-off behavior and show an opt-in pattern.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tests/Aspire.Templates.Tests/Aspire.Templates.Tests.csproj Opts template tests into macOS only for GitHub Actions non-PR runs.
eng/Testing.targets Makes macOS runs disabled-by-default via RunOnGithubActionsMacOS fallback.
docs/ci/TestingOnCI.md Documents new default behavior and adds an example macOS opt-in condition.

@radical radical enabled auto-merge (squash) March 26, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants