-
Notifications
You must be signed in to change notification settings - Fork 34
Implement create-project safe output for campaigns #9360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: mnkiefer <[email protected]>
Co-authored-by: mnkiefer <[email protected]>
Co-authored-by: mnkiefer <[email protected]>
|
You want update or create project? |
Here, we |
|
@copilot: Use |
- Created new create-project safe output type - Added Go backend configuration (create_project.go) - Created JavaScript implementation (create_project.cjs) - Added schema validation and tool definitions - Updated campaign-generator.md to use create-project - Removed copy from template, now creates empty projects - All tests pass Co-authored-by: mnkiefer <[email protected]>
Done! Created a new The distinction is now clear:
Campaign generator now uses |
|
@copilot: Depending on the token provided, we can create user-owned or org-owned projects. Remove hardcoded org "githubnext". |
- Removed target-owner: "githubnext" from frontmatter - Updated instructions to use github.owner dynamically - Changed item_url to construct from allowed expressions - Now supports both user and org projects based on token Co-authored-by: mnkiefer <[email protected]>
Done! Removed hardcoded "githubnext" organization (commit c9c37fb). Changes:
The workflow is now flexible and works with any repository owner. |
Plan: Implement create-project safe output for campaigns
Implementation Complete
Created a new
create-projectsafe output that creates empty GitHub Projects V2 boards. This is distinct from:copy-project: Copies from a template project (preserves all fields/views)update-project: Updates/creates projects (smart management)create-project: Creates new empty projects (campaigns)The distinction clarifies the use case: campaign-generator creates new empty projects, while campaign orchestrators update existing projects with items and fields.
Flexibility: The campaign generator now dynamically determines the project owner using
github.owner, allowing it to work with any repository owner (organization or user) based on the provided token permissions.💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.