Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo sync #34318

Merged
merged 5 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add procedure for asking copilot why a PR failed (#51784)
Co-authored-by: Jules Porter <jules-p@users.noreply.github.com>
  • Loading branch information
jules-p and jules-p authored Aug 15, 2024
commit ab8e9b46a070037bd1245396254ff8482fbdeff8
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ If you enable "{% data variables.product.prodname_copilot_short %} in {% data va
* **Previews of {% data variables.product.prodname_copilot_short %} features** - If enabled, members of your enterprise can test new {% data variables.product.prodname_copilot_short %} features that are not yet generally available. Be aware that previews of features may have flaws, and the features may be changed or discontinued at any time. Current previews of {% data variables.product.prodname_copilot_short %} features:

* {% data variables.product.prodname_copilot_autocomplete_pr %}. For more information, see "[Using Copilot text completion](/copilot/using-github-copilot/using-copilot-text-completion)."
* Asking {% data variables.product.prodname_copilot_short %} why a workflow has failed. For more information, see "[Ask why a workflow has failed](/copilot/using-github-copilot/asking-github-copilot-questions-in-githubcom#ask-why-a-workflow-has-failed)."

### {% data variables.product.prodname_copilot_cli %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down