Skip to content

Commit 08f1bd2

Browse files
nhu-doCopilothubwriter
authored
Add clarifications to CCA docs (#57219)
Co-authored-by: Copilot <[email protected]> Co-authored-by: hubwriter <[email protected]>
1 parent 5b8fd55 commit 08f1bd2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ In your `copilot-setup-steps.yml` file, you can only customize the following set
9898

9999
For more information on these options, see [AUTOTITLE](/actions/writing-workflows/workflow-syntax-for-github-actions#jobs).
100100

101+
Any value that is set for the `fetch-depth` option of the `actions/checkout` action will be overridden to allow the agent to rollback commits upon request, while mitigating security risks. For more information, see [`actions/checkout/README.md`](https://github.com/actions/checkout/blob/main/README.md).
102+
101103
Your `copilot-setup-steps.yml` file will automatically be run as a normal {% data variables.product.prodname_actions %} workflow when changes are made, so you can see if it runs successfully. This will show alongside other checks in a pull request where you create or modify the file.
102104

103105
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).

content/copilot/how-tos/use-copilot-agents/coding-agent/troubleshoot-coding-agent.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ If {% data variables.product.prodname_copilot_short %} tries to make a request w
106106

107107
For more information, see [AUTOTITLE](/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent).
108108

109+
## {% data variables.product.prodname_copilot_short %} is not picking up attached screenshots
110+
111+
The maximum image size allowed by {% data variables.copilot.copilot_coding_agent %} is 3.00 MiB. Images larger than this will be removed from the request.
112+
109113
## Further reading
110114

111115
* [AUTOTITLE](/copilot/tutorials/coding-agent/best-practices)

0 commit comments

Comments
 (0)