Remove two-file structure from workflow documentation #12924
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Documentation Update: Remove Two-File Structure Recommendation
This PR updates the agentic workflow creation and update documentation to reflect that workflows can now be edited without recompilation. The two-file structure (separating agentics/ and workflows/ directories) is no longer necessary since the markdown body can be edited directly.
Plan
.github/aw/create-agentic-workflow.md- remove two-file structure recommendation.github/aw/update-agentic-workflow.md- remove two-file structure recommendationpkg/cli/templates/create-agentic-workflow.md- remove two-file structure recommendationpkg/cli/templates/update-agentic-workflow.md- remove two-file structure recommendationChanges Made
Key Updates:
.github/workflows/<workflow-id>.mdfile structure.github/agentics/<workflow-id>.mdandruntime-importpatternsFiles Updated:
.github/aw/create-agentic-workflow.md(144 lines reduced).github/aw/update-agentic-workflow.md(209 lines reduced)pkg/cli/templates/create-agentic-workflow.md(144 lines reduced)pkg/cli/templates/update-agentic-workflow.md(209 lines reduced)pkg/workflow/data/action_pins.json(updated during recompilation)Total Impact: Reduced documentation by 199 lines while improving clarity
Documentation Build: ✅ Successfully built with no errors
Workflow Compilation: ✅ All 147 workflows compiled successfully
Summary
The documentation now correctly reflects the current workflow editing capabilities:
.github/workflows/<workflow-id>.mdOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.