Fix workflow issue form to generate .md and .lock.yml files like campaign generator #6993
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.
The workflow issue form currently assigns an agent to work in the issue context interactively. It should instead generate a complete workflow specification (
.md) and compiled lockfile (.lock.yml) in a PR, matching the campaign generator pattern.Changes
.github/agents/create-agentic-workflow.agent.mdworkflow_name,workflow_description, andadditional_contextfields.mdwith inferred triggers, tools, safe-outputs, and security best practices.lock.ymlusinggh aw compile.github/workflows/workflow-generator.md.mdand.lock.ymlfiles in PRPattern
Same flow as campaign generator:
.campaign.md→.campaign.g.mdorchestrator.mdworkflow →.lock.ymlcompiled workflowExample Issue Form Output
Input:
Generates:
Compiled to
issue-classifier.lock.ymlviagh aw compile issue-classifier.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:
https://api.github.com/user/usr/bin/gh gh api user --jq .login runs/20251219-190019-20317/test-2875231321/.github/workflows GO111MODULE /opt/hostedtoolcache/go/1.25.0/x64/bin/go l GOMOD GOMODCACHE go run nOrchestratorGitHubToken1719985445/001 invalid-command /usr/bin/gh GOSUMDB GOWORK 64/pkg/tool/linu--show-toplevel gh(http block)/usr/bin/gh gh api user --jq .login om/github/gitignore.git om/github/gitignore.git /bin/sh -test.run=^Test GOWORK 64/pkg/tool/linuGOMODCACHE /bin/sh -c it/ref/tags/330a01c490aca151604b8cf639adc76d48f6c5d4 64/pkg/tool/linuGO111MODULE /usr/bin/git l rev-parse 64/bin/go git(http block)/usr/bin/gh gh api user --jq .login ithub/workflows -buildtags e/git -errorsas -ifaceassert -nilfunc e/git init�� om/actions/cache.git om/actions/cache.git /usr/bin/git rite '../../**/*bash rev-parse 64/bin/go git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.