Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 31, 2025

Implements a ci-workflow generator for .NET projects, following the pattern established by the gradle ci-workflow generator.

Changes

  • Generator implementation (packages/dotnet/src/generators/ci-workflow/)

    • Supports GitHub Actions and CircleCI
    • Configures .NET SDK 8.x
    • Uses linux-medium agent type for Nx Cloud task distribution
    • Includes Nx affected commands and self-healing CI (nx fix-ci)
  • Templates

    • GitHub Actions: uses actions/setup-dotnet@v4
    • CircleCI: uses mcr.microsoft.com/dotnet/sdk:8.0 docker image
  • Registration: Added to generators.json alongside existing init generator

Usage

# Generate GitHub Actions workflow
nx g @nx/dotnet:ci-workflow --ci=github

# Generate CircleCI workflow  
nx g @nx/dotnet:ci-workflow --ci=circleci

Fixes https://linear.app/nxdev/issue/NXC-3356/generate-ci-workflow-for-net

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • repo.gradle.org
  • staging.nx.app

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Issue Title: Generate ci-workflow for .NET
Issue Description: This should be similar to the existing ci-workflow generator for gradle, reference https://github.com/nrwl/nx/tree/master/packages/gradle/src/generators/ci-workflow

The generator should be scaffolded using nx g generator ./packages/dotnet/src/generators/ci-workflow/ci-workflow
Fixes https://linear.app/nxdev/issue/NXC-3356/generate-ci-workflow-for-net

Comment by User 4215f3ef-50bd-4f09-85a0-b489c88057b6:
https://github.com/nrwl/nx

Comment by User d484ef82-7f7d-4a95-be09-9d82ca3905dc:
📋 I wasn't able to determine which GitHub repository to work in.

I think it's one of these, but can you tell me which one is right?

Comment by User :
This thread is for an agent session with githubcopilot.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@netlify
Copy link

netlify bot commented Oct 31, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit dd3ec05
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6904e81fbc0c8c0007b32eec
😎 Deploy Preview https://deploy-preview-33321--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel
Copy link

vercel bot commented Oct 31, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Oct 31, 2025 4:53pm

Copilot AI changed the title [WIP] Generate ci-workflow for .NET similar to gradle feat(dotnet): add ci-workflow generator Oct 31, 2025
Copilot AI requested a review from AgentEnder October 31, 2025 16:49
Copilot finished work on behalf of AgentEnder October 31, 2025 16:49
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.

2 participants