Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 5, 2025

Enhances the dev.md workflow to showcase the new assign_to_agent API options added in the PR: custom_agent and custom_instructions with GitHub expression support.

Changes

  • Workflow purpose: Changed from listing issues to finding and assigning documentation candidates to the technical doc writer agent
  • Safe outputs: Added assign-to-agent with max: 1
  • Custom agent: Demonstrates custom_agent="technical-doc-writer"
  • Expression rendering: Shows custom_instructions with expressions:
    custom_instructions="Read the description carefully. This assignment was made by @${{ github.actor }} in run ${{ github.run_id }}."

Expressions like ${{ github.actor }} are converted to environment variables in the lock file and substituted at runtime via envsubst.


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

…and instructions

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 5, 2025

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

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
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login -json GO111MODULE ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.0/x64/pkg/tool/linu--jq env /ref/tags/v8 GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolc--jq (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login se 7721908/b219/vet.cfg 615e07f78433a71bf3835e7d37489279444/log.json GOINSECURE GOMOD GOMODCACHE /opt/hostedtoolctest-mcp-3 -V=f�� oad-artifact.git--verbose GOPROXY ache/go/1.25.0/xREDACTED GOSUMDB GOWORK -d/gh-aw ache/go/1.25.0/x-address (http block)

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

Copilot AI changed the title [WIP] Add support for new GitHub Copilot assignment API options Update dev.md to demonstrate custom_agent and custom_instructions with expression rendering Dec 5, 2025
Copilot AI requested a review from pelikhan December 5, 2025 13:48
@pelikhan pelikhan marked this pull request as ready for review December 5, 2025 14:04
@pelikhan pelikhan merged commit 37782ea into update-assign-to-agent-api Dec 5, 2025
@pelikhan pelikhan deleted the copilot/sub-pr-5561 branch December 5, 2025 14:04
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