1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Add procedure for asking copilot why a PR failed (#51784)

Co-authored-by: Jules Porter <jules-p@users.noreply.github.com>
This commit is contained in:
Jules
2024-08-15 17:38:00 +02:00
committed by GitHub
parent 3249d8fb67
commit ab8e9b46a0
2 changed files with 22 additions and 0 deletions

View File

@@ -299,6 +299,27 @@ You can ask {% data variables.product.prodname_copilot_short %} to summarize a p
{% data reusables.copilot.stop-response-generation %}
### Ask why a workflow has failed
> [!NOTE]This feature is currently in beta and subject to change.
1. On {% data variables.product.prodname_dotcom_the_website %}, navigate to a pull request in a repository.
1. Scroll to the bottom of the page, then, next to one of the failing checks, click **Details**.
{% data reusables.copilot.open-copilot %}
1. At the bottom of the {% data variables.product.prodname_copilot_chat_short %} panel, in the "Ask {% data variables.product.prodname_copilot_short %}" box, ask {% data variables.product.prodname_copilot_short %} why the pull request has failed and press <kbd>Enter</kbd>.
For example, you could ask:
* Tell me why this job failed
* Suggest a fix for this error
{% data variables.product.prodname_copilot_short %} will respond with information about why the pull request failed. {% data variables.product.prodname_copilot_short %} may also provide suggestions for how to fix the issue.
1. If {% data variables.product.prodname_copilot_short %} has provided steps to fix the issue, you can follow the steps to resolve the problem.
{% data reusables.copilot.stop-response-generation %}
## Asking a question about a specific issue or discussion
You can ask {% data variables.product.prodname_copilot_short %} to summarize or answer questions about a specific issue or discussion.