Skip to content

Commit ca88287

Browse files
timrogersCopilot
andauthored
[2025-08-05] Improved reliability and debuggability when configuring custom setup steps for Copilot coding agent (#56768)
Co-authored-by: Copilot <[email protected]>
1 parent 086ce15 commit ca88287

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ Your `copilot-setup-steps.yml` file will automatically be run as a normal {% dat
9999

100100
Once you have merged the yml file into your default branch, you can manually run the workflow from the repository's **Actions** tab at any time to check that everything works as expected. For more information, see [AUTOTITLE](/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow).
101101

102+
When {% data variables.product.prodname_copilot_short %} starts work, your setup steps will be run, and updates will show in the session logs. See [AUTOTITLE](/copilot/how-tos/agents/copilot-coding-agent/tracking-copilots-sessions).
103+
104+
If any setup step fails by returning a non-zero exit code, {% data variables.product.prodname_copilot_short %} will skip the remaining setup steps and begin working with the current state of its development environment.
105+
102106
## Setting environment variables in {% data variables.product.prodname_copilot_short %}'s environment
103107

104108
You may want to set environment variables in {% data variables.product.prodname_copilot_short %}'s environment to configure or authenticate tools or dependencies that it has access to.

0 commit comments

Comments
 (0)