-
Notifications
You must be signed in to change notification settings - Fork 37
Add project frontmatter field for automatic project board tracking
#12046
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 <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
@copilot Also add scope field |
project frontmatter field for automatic project board tracking
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Added scope field in commit 49d8147. The scope field allows specifying which repositories and organizations the workflow can operate on: project:
url: https://github.com/orgs/github/projects/123
scope:
- owner/repo1
- owner/repo2
- org:myorgSupports |
|
@copilot Having the "project" field should compile this workflow to a campaign (with orchestrator integrated, etc.), but no special file extension as before. |
This is a significant architectural change that goes beyond the current implementation. Currently:
Making
This would essentially turn any workflow with
Could you clarify the desired behavior and scope? |
|
@copilot Remove invalid campaign links from docs |
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Add
projectfrontmatter field to agentic workflows ✅This PR adds a new top-level
projectfield to agentic workflows that provides automatic GitHub Projects board tracking, similar to campaign orchestrators.Implementation Complete ✅
Core Implementation:
ProjectConfigtype to hold project URL and configuration settingsProjectfield toFrontmatterConfigstructapplyProjectSafeOutputs()to automatically configure safe-outputs when project field is presentprocessToolsAndMarkdown()scopefield to define which repositories/organizations the workflow can operate onSchema & Validation:
owner/repofor specific repositories andorg:namefor organizationsAuto-Configuration:
When
projectis configured, automatically adds:update-projectsafe-output (default max: 100)create-project-status-updatesafe-output (default max: 1)Documentation:
docs/src/content/docs/examples/project-tracking.mdTesting:
Usage Examples
Simple format:
Full configuration with scope:
Recent Updates
/gh-aw/concepts/campaigns/to/gh-aw/examples/campaigns/Files Changed
pkg/workflow/frontmatter_types.go- Added ProjectConfig type with Scope fieldpkg/workflow/project_safe_outputs.go- Auto-configuration implementation with scope parsingpkg/workflow/project_safe_outputs_test.go- Comprehensive unit testspkg/workflow/compiler_orchestrator_tools.go- Compiler integrationpkg/parser/schemas/main_workflow_schema.json- JSON schema with scope validationdocs/src/content/docs/examples/project-tracking.md- Complete documentation with fixed linksdocs/src/content/docs/reference/frontmatter.md- Updated referenceReady for Review ✅
All implementation is complete, tested, and documented. Ready for merge!
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.