From 5061ec1baa2e8f8aaa44d708507e7d1cd4548e07 Mon Sep 17 00:00:00 2001 From: Christopher Harrison Date: Fri, 13 Nov 2026 09:57:44 -0800 Subject: [PATCH] docs: correct workshop safety and setup guidance Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../first-steps/copilot-app/5-publish.md | 6 ++-- .../copilot-cli/2-project-instructions.md | 3 +- .../app/1-install-copilot-app.md | 8 +++-- .../copilot-app/12-deploy-pages.md | 35 +++++++++++++------ docs/first-steps/copilot-app/5-publish.md | 6 ++-- .../copilot-cli/2-project-instructions.md | 3 +- .../first-steps/copilot-app/5-publish.md | 6 ++-- .../copilot-cli/2-project-instructions.md | 3 +- .../app/1-install-copilot-app.md | 8 +++-- .../copilot-app/12-deploy-pages.md | 35 +++++++++++++------ .../first-steps/copilot-app/5-publish.md | 6 ++-- .../copilot-cli/2-project-instructions.md | 3 +- .../app/1-install-copilot-app.md | 8 +++-- .../first-steps/copilot-app/5-publish.md | 6 ++-- .../copilot-cli/2-project-instructions.md | 3 +- .../app/1-install-copilot-app.md | 8 +++-- .../app/1-install-copilot-app.md | 6 +++- .../first-steps/copilot-app/5-publish.md | 6 ++-- .../copilot-cli/2-project-instructions.md | 3 +- .../app/1-install-copilot-app.md | 8 +++-- 20 files changed, 115 insertions(+), 55 deletions(-) diff --git a/docs/es-es/first-steps/copilot-app/5-publish.md b/docs/es-es/first-steps/copilot-app/5-publish.md index 2c0f23f3..173309f6 100644 --- a/docs/es-es/first-steps/copilot-app/5-publish.md +++ b/docs/es-es/first-steps/copilot-app/5-publish.md @@ -16,15 +16,15 @@ En esta lección: ## Publica el repositorio +> [!WARNING] +> Según la configuración de aprobación, el agente puede pedir confirmación antes de crear un repositorio o enviar código, o esas acciones pueden aprobarse automáticamente. Con **Approve all**, no esperes una solicitud de confirmación adicional. Revisa la configuración, la acción solicitada y el destino antes de enviar el prompt de publicación. + Envía el siguiente prompt: ```plaintext Initialize this folder as a Git repository, create an initial commit, and create a new public GitHub repository named space-quiz in my account. Push the current branch and set it as the default branch. Refresh the project within this app so the GitHub project is linked. ``` -> [!WARNING] -> Según la configuración de aprobación, el agente puede pedir confirmación antes de crear un repositorio o enviar código, o esas acciones pueden aprobarse automáticamente. Con **Approve all**, no esperes una solicitud de confirmación adicional. Revisa la configuración, la acción solicitada y el destino antes de enviar el prompt de publicación. - Cuando el agente termine: 1. Abre el nuevo repositorio en GitHub. diff --git a/docs/es-es/first-steps/copilot-cli/2-project-instructions.md b/docs/es-es/first-steps/copilot-cli/2-project-instructions.md index e20bb1db..412f8bb6 100644 --- a/docs/es-es/first-steps/copilot-cli/2-project-instructions.md +++ b/docs/es-es/first-steps/copilot-cli/2-project-instructions.md @@ -16,7 +16,7 @@ En esta lección: ## Recoge las reglas con `/init` -Incluye un prompt después de `/init`. Si envías el comando sin texto adicional, puede aparecer `Command input required`. +En Copilot CLI, `/init` funciona sin texto adicional; también puedes añadir instrucciones para orientar lo que genera, como se indica en la [referencia de comandos de CLI][cli-init]. Este ejemplo añade una solicitud de reglas sencillas para el proyecto. 1. Ejecuta `/init create simple rules for the project` en la sesión. 2. Revisa el archivo de instrucciones generado antes de aceptarlo. @@ -36,3 +36,4 @@ El archivo de instrucciones no sirve solo para recoger datos del proyecto. Añad El proyecto ya tiene instrucciones del agente basadas en código real. Continúa con la [lección 3: Publicar el proyecto][next-lesson]. [next-lesson]: ../3-publish/ +[cli-init]: https://docs.github.com/copilot/reference/copilot-cli-reference/cli-command-reference#project-initialization-for-copilot diff --git a/docs/es-es/real-world-development/app/1-install-copilot-app.md b/docs/es-es/real-world-development/app/1-install-copilot-app.md index a79a3d33..1012006f 100644 --- a/docs/es-es/real-world-development/app/1-install-copilot-app.md +++ b/docs/es-es/real-world-development/app/1-install-copilot-app.md @@ -29,7 +29,10 @@ Como cabe esperar, el primer paso para utilizar la aplicación GitHub Copilot es 1. En un navegador, abre la [página de inicio de la aplicación GitHub Copilot][download-app]. 2. Descarga la aplicación para tu plataforma e instálala siguiendo las instrucciones de la página. 3. Abre la aplicación después de instalarla. -4. Selecciona **Sign in to GitHub** y sigue las indicaciones para autenticarte. Si utilizas GitHub Enterprise Server, elige **Use GitHub Enterprise** e introduce la dirección del servidor cuando se solicite. +4. Selecciona **Sign in to GitHub** y sigue las indicaciones para iniciar sesión con una cuenta de GitHub.com o GHE.com. Si utilizas GitHub Enterprise Cloud con residencia de datos, elige **GitHub Enterprise Cloud** e introduce el nombre de host `*.ghe.com` cuando se solicite. + + Si utilizas GitHub Enterprise Server, completa primero la incorporación con tu cuenta en la nube. Después, abre **Settings**, selecciona **Accounts**, selecciona **Add account** y elige **GitHub Enterprise Server**. Sigue las indicaciones para autorizar la aplicación en el navegador, como se describe en la [guía de inicio de sesión en Enterprise Server][ghes-sign-in]. + 5. Después de autenticarte, se te pedirá que conectes los repositorios. Selecciona el repositorio de Tailspin Toys que acabas de crear, cuyo nombre debería ser `/tailspin-toys`. 6. Selecciona **Continue** para continuar con la incorporación. 7. Cuando se te pida que elijas un tema, selecciona el que más te guste y, después, selecciona **Finish**. @@ -103,4 +106,5 @@ A continuación, iniciarás tu primera sesión de agente y realizarás el primer [about-copilot-app]: https://docs.github.com/copilot/concepts/agents/github-copilot-app [getting-started]: https://docs.github.com/copilot/how-tos/github-copilot-app/getting-started [agent-sessions]: https://docs.github.com/copilot/how-tos/github-copilot-app/agent-sessions -[download-app]: https://gh.io/app \ No newline at end of file +[download-app]: https://gh.io/app +[ghes-sign-in]: https://docs.github.com/enterprise-server@3.22/copilot/copilot-on-ghes/sign-in-on-copilot-app \ No newline at end of file diff --git a/docs/first-steps/copilot-app/12-deploy-pages.md b/docs/first-steps/copilot-app/12-deploy-pages.md index c38f0551..fe3bbb21 100644 --- a/docs/first-steps/copilot-app/12-deploy-pages.md +++ b/docs/first-steps/copilot-app/12-deploy-pages.md @@ -18,26 +18,41 @@ In this lesson, you will: The Space Quiz is already in a GitHub repository, but people still need a simple way to try it. Publishing the single-file site with GitHub Pages makes it available from a public URL without adding a server or runtime dependency. -## Ask Copilot to deploy the site +## Ask Copilot to prepare the deployment + +> [!WARNING] +> Creating a pull request can commit and push code. Review your approval settings and the destination repository before sending this prompt. With **Approve all**, do not expect a separate confirmation prompt. In the Copilot app session for `space-quiz`, send this prompt: ```plaintext -Enable GitHub Pages for this repository. Create a GitHub Actions workflow that builds the website if needed and deploys it to GitHub Pages. Add a README describing the app and how to run it locally if one does not already exist. Create a pull request with these changes and merge it after required checks pass. Monitor the deployment until it succeeds, then report the final URL of the live website. If you lack permission to enable Pages or merge, tell me exactly what I need to approve or do; do not report success until the site is live. +Prepare a GitHub Pages deployment for this repository. Create a GitHub Actions workflow that builds the website if needed and deploys it to GitHub Pages after changes reach the default branch. Add a README describing the app and how to run it locally if one does not already exist. Create a pull request with these changes and report its link and any required Pages settings or permissions. Do not merge, enable auto-merge, change Pages settings, or deploy. Stop and wait for my review. ``` -![Three-stage diagram: a merged space-quiz pull request; a successful GitHub Actions Deploy website run with Build website, Upload artifact, and Deploy to Pages steps; and the live Space Quiz at yourname.github.io/space-quiz/.](../../_images/first-steps-app-pages-deploy.svg) +## Review the workflow and pull request + +1. Confirm that the README is added only if the repository does not already have one. +2. Review the pull request changes, including the workflow's build and deployment steps, triggers, and permissions. +3. Confirm that the workflow deploys from the default branch, not from an unmerged pull request. +4. Request any corrections and review the updated diff. Wait for the required pull request checks to pass before authorizing a merge. + +## Authorize the merge and deployment > [!WARNING] -> This prompt asks the agent to create and merge a pull request and change repository Pages settings. Review the diff, deployment permissions, and any GitHub approval prompts before proceeding. +> The following prompt authorizes the agent to merge the reviewed pull request, change repository Pages settings, and publish the site. Send it only after completing your review and confirming the repository and pull request. Approval settings may allow these actions without another confirmation prompt. -## Review the workflow and verify the deployment +Replace `` with the number of the pull request you reviewed, then send this separate prompt: -1. Confirm that the README is added only if the repository does not already have one. -2. Review the pull request changes, including the workflow's build and deployment steps. -3. Merge only after the required pull request checks pass. -4. Follow the GitHub Actions deployment run until it succeeds. -5. Open the reported URL and confirm that the Space Quiz loads. +```plaintext +I have reviewed pull request in this repository and authorize its merge and deployment. Enable GitHub Pages using GitHub Actions, merge that pull request only after required checks pass, and monitor the deployment until it succeeds. Report the final URL of the live website. If you lack permission to enable Pages or merge, tell me exactly what I need to approve or do; do not report success until the site is live. +``` + +![Three-stage diagram: a merged space-quiz pull request; a successful GitHub Actions Deploy website run with Build website, Upload artifact, and Deploy to Pages steps; and the live Space Quiz at yourname.github.io/space-quiz/.](../../_images/first-steps-app-pages-deploy.svg) + +## Verify the deployment + +1. Follow the GitHub Actions deployment run until it succeeds. +2. Open the reported URL and confirm that the Space Quiz loads. If the agent cannot enable Pages or merge the pull request, follow the specific instructions it provides. Do not treat the task as complete until the deployment succeeds and the live site loads. diff --git a/docs/first-steps/copilot-app/5-publish.md b/docs/first-steps/copilot-app/5-publish.md index 4e786799..7f7bffe8 100644 --- a/docs/first-steps/copilot-app/5-publish.md +++ b/docs/first-steps/copilot-app/5-publish.md @@ -16,15 +16,15 @@ In this lesson, you will: ## Publish the repository +> [!WARNING] +> Depending on your approval settings, the agent may ask for confirmation before it creates a repository or pushes code, or those actions may be approved automatically. With **Approve all**, do not expect a separate confirmation prompt. Review your settings, the requested action, and the destination before sending the publishing prompt. + Send the following prompt: ```plaintext Initialize this folder as a Git repository, create an initial commit, and create a new public GitHub repository named space-quiz in my account. Push the current branch and set it as the default branch. Refresh the project within this app so the GitHub project is linked. ``` -> [!WARNING] -> Depending on your approval settings, the agent may ask for confirmation before it creates a repository or pushes code, or those actions may be approved automatically. With **Approve all**, do not expect a separate confirmation prompt. Review your settings, the requested action, and the destination before sending the publishing prompt. - After the agent finishes: 1. Open the new repository on GitHub. diff --git a/docs/first-steps/copilot-cli/2-project-instructions.md b/docs/first-steps/copilot-cli/2-project-instructions.md index 22a728a6..15b7bc01 100644 --- a/docs/first-steps/copilot-cli/2-project-instructions.md +++ b/docs/first-steps/copilot-cli/2-project-instructions.md @@ -16,7 +16,7 @@ In this lesson, you will: ## Capture the rules with `/init` -Include a prompt after `/init`. Submitting the command on its own can produce `Command input required`. +In Copilot CLI, `/init` works on its own; you can also add instructions to guide what it generates, as shown in the [CLI command reference][cli-init]. This example adds a request for simple project rules. 1. Run `/init create simple rules for the project` in the session. 2. Review the generated instructions file before accepting it. @@ -36,3 +36,4 @@ The instructions file is not only for facts about the project. Add the specifics Your project now has agent instructions grounded in real code. Continue to [Lesson 3: Publish the project][next-lesson]. [next-lesson]: ../3-publish/ +[cli-init]: https://docs.github.com/copilot/reference/copilot-cli-reference/cli-command-reference#project-initialization-for-copilot diff --git a/docs/ja-jp/first-steps/copilot-app/5-publish.md b/docs/ja-jp/first-steps/copilot-app/5-publish.md index dc78ab55..1bda96d1 100644 --- a/docs/ja-jp/first-steps/copilot-app/5-publish.md +++ b/docs/ja-jp/first-steps/copilot-app/5-publish.md @@ -16,15 +16,15 @@ Space Quiz を公開して、Issue を管理し、分離された worktree を ## リポジトリを公開する +> [!WARNING] +> 承認設定によって、リポジトリの作成やコードのプッシュの前にエージェントが確認を求める場合と、操作が自動で承認される場合があります。**Approve all** では、個別の確認プロンプトが表示されるとは限りません。公開用のプロンプトを送信する前に、設定、依頼する操作、その対象をレビューしてください。 + 次のプロンプトを送信します。 ```plaintext Initialize this folder as a Git repository, create an initial commit, and create a new public GitHub repository named space-quiz in my account. Push the current branch and set it as the default branch. Refresh the project within this app so the GitHub project is linked. ``` -> [!WARNING] -> 承認設定によって、リポジトリの作成やコードのプッシュの前にエージェントが確認を求める場合と、操作が自動で承認される場合があります。**Approve all** では、個別の確認プロンプトが表示されるとは限りません。公開用のプロンプトを送信する前に、設定、依頼する操作、その対象をレビューしてください。 - エージェントの作業が完了したら、次を行います。 1. GitHub で新しいリポジトリを開きます。 diff --git a/docs/ja-jp/first-steps/copilot-cli/2-project-instructions.md b/docs/ja-jp/first-steps/copilot-cli/2-project-instructions.md index 40b2ebbc..46fa3bea 100644 --- a/docs/ja-jp/first-steps/copilot-cli/2-project-instructions.md +++ b/docs/ja-jp/first-steps/copilot-cli/2-project-instructions.md @@ -16,7 +16,7 @@ lastUpdated: 2026-10-05 ## `/init` でルールを記録する -`/init` の後にプロンプトを入力します。コマンドだけを送信すると、`Command input required` が表示される場合があります。 +Copilot CLI では、`/init` は単独で実行できます。[CLI コマンドリファレンス][cli-init]にあるように、生成内容を指定する指示も追加できます。この例では、プロジェクトの簡単なルールを作成するよう依頼します。 1. セッションで `/init create simple rules for the project` を実行します。 2. 生成された指示ファイルを受け入れる前にレビューします。 @@ -36,3 +36,4 @@ lastUpdated: 2026-10-05 プロジェクトに、実際のコードに基づくエージェントへの指示が加わりました。[レッスン 3: プロジェクトの公開][next-lesson]に進みます。 [next-lesson]: ../3-publish/ +[cli-init]: https://docs.github.com/copilot/reference/copilot-cli-reference/cli-command-reference#project-initialization-for-copilot diff --git a/docs/ja-jp/real-world-development/app/1-install-copilot-app.md b/docs/ja-jp/real-world-development/app/1-install-copilot-app.md index e7f929d8..d0423e3d 100644 --- a/docs/ja-jp/real-world-development/app/1-install-copilot-app.md +++ b/docs/ja-jp/real-world-development/app/1-install-copilot-app.md @@ -29,7 +29,10 @@ GitHub Copilot app を使用するには、まずアプリをインストール 1. ブラウザーで [GitHub Copilot app のランディングページ][download-app]を開きます。 2. 使用しているプラットフォーム向けのアプリをダウンロードし、ランディングページの手順に従ってインストールします。 3. インストールが完了したら、アプリを開きます。 -4. **Sign in to GitHub** を選択し、画面の指示に従って認証します。GitHub Enterprise Server を使用している場合は **Use GitHub Enterprise** を選択し、求められたらサーバーアドレスを入力します。 +4. **Sign in to GitHub** を選択し、画面の指示に従って GitHub.com または GHE.com のアカウントでサインインします。データ所在地に対応した GitHub Enterprise Cloud を使用している場合は **GitHub Enterprise Cloud** を選択し、求められたら `*.ghe.com` のホスト名を入力します。 + + GitHub Enterprise Server を使用している場合は、まずクラウドアカウントでオンボーディングを完了します。その後、**Settings** を開き、**Accounts**、**Add account**、**GitHub Enterprise Server** の順に選択します。[Enterprise Server のサインインガイド][ghes-sign-in]に従い、ブラウザーでアプリを承認します。 + 5. 認証後、リポジトリを接続するよう求められます。先ほど作成した `/tailspin-toys` という名前の Tailspin Toys リポジトリを選択します。 6. **Continue** を選択してオンボーディングを続けます。 7. テーマの選択を求められたら、最も好みのものを選び、**Finish** を選択します。 @@ -103,4 +106,5 @@ GitHub Copilot app をインストールし、プロジェクトを接続して [about-copilot-app]: https://docs.github.com/copilot/concepts/agents/github-copilot-app [getting-started]: https://docs.github.com/copilot/how-tos/github-copilot-app/getting-started [agent-sessions]: https://docs.github.com/copilot/how-tos/github-copilot-app/agent-sessions -[download-app]: https://gh.io/app \ No newline at end of file +[download-app]: https://gh.io/app +[ghes-sign-in]: https://docs.github.com/enterprise-server@3.22/copilot/copilot-on-ghes/sign-in-on-copilot-app \ No newline at end of file diff --git a/docs/ko-kr/first-steps/copilot-app/12-deploy-pages.md b/docs/ko-kr/first-steps/copilot-app/12-deploy-pages.md index 5b078218..9fcc590d 100644 --- a/docs/ko-kr/first-steps/copilot-app/12-deploy-pages.md +++ b/docs/ko-kr/first-steps/copilot-app/12-deploy-pages.md @@ -18,26 +18,41 @@ Space Quiz를 GitHub Pages에 배포하여 공개적으로 이용할 수 있도 Space Quiz는 이미 GitHub 리포지토리에 있지만, 누구나 간단히 이용할 수 있는 방법은 아직 없습니다. 서버나 런타임 종속성을 추가하지 않고 GitHub Pages로 단일 파일 사이트를 게시하면 공개 URL에서 이용할 수 있습니다. -## Copilot에 사이트 배포 요청하기 +## Copilot에 배포 준비 요청하기 + +> [!WARNING] +> 풀 리퀘스트를 만들면 코드가 커밋되고 푸시될 수 있습니다. 이 프롬프트를 보내기 전에 승인 설정과 대상 리포지토리를 검토합니다. **Approve all**에서는 별도의 확인 프롬프트가 표시된다고 기대하지 마십시오. `space-quiz`의 Copilot app 세션에서 다음 프롬프트를 보냅니다. ```plaintext -이 리포지토리에서 GitHub Pages를 활성화해 주세요. 필요한 경우 웹사이트를 빌드하고 GitHub Pages에 배포하는 GitHub Actions 워크플로를 만들어 주세요. 아직 README가 없다면 앱 소개와 로컬 실행 방법을 설명하는 README를 추가해 주세요. 변경 사항으로 풀 리퀘스트를 만들고 필수 검사가 통과하면 병합해 주세요. 배포가 성공할 때까지 모니터링한 다음 실제 웹사이트의 최종 URL을 알려 주세요. Pages를 활성화하거나 병합할 권한이 없다면 제가 무엇을 승인하거나 해야 하는지 정확히 알려 주세요. 사이트가 실제로 게시되기 전까지 성공했다고 보고하지 마세요. +이 리포지토리의 GitHub Pages 배포를 준비해 주세요. 변경 사항이 기본 브랜치에 반영된 후 필요한 경우 웹사이트를 빌드하고 GitHub Pages에 배포하는 GitHub Actions 워크플로를 만들어 주세요. 아직 README가 없다면 앱 소개와 로컬 실행 방법을 설명하는 README를 추가해 주세요. 변경 사항으로 풀 리퀘스트를 만들고 링크와 필요한 Pages 설정 또는 권한을 알려 주세요. 병합하거나 자동 병합을 활성화하거나 Pages 설정을 변경하거나 배포하지 마세요. 작업을 멈추고 제 검토를 기다려 주세요. ``` -![Space Quiz 풀 리퀘스트 병합, Build website·Upload artifact·Deploy to Pages 단계가 성공한 GitHub Actions 배포 실행, yourname.github.io/space-quiz/에서 열린 Space Quiz를 보여 주는 3단계 다이어그램](../../../_images/first-steps-app-pages-deploy.svg) +## 워크플로와 풀 리퀘스트 검토하기 + +1. 리포지토리에 README가 없는 경우에만 추가되었는지 확인합니다. +2. 워크플로의 빌드 및 배포 단계, 트리거, 권한을 포함해 풀 리퀘스트 변경 사항을 검토합니다. +3. 병합되지 않은 풀 리퀘스트가 아니라 기본 브랜치에서 워크플로가 배포되는지 확인합니다. +4. 필요한 수정을 요청하고 업데이트된 diff를 검토합니다. 병합을 승인하기 전에 필수 풀 리퀘스트 검사가 통과할 때까지 기다립니다. + +## 병합과 배포 승인하기 > [!WARNING] -> 이 프롬프트는 에이전트에 풀 리퀘스트 생성 및 병합과 리포지토리의 Pages 설정 변경을 요청합니다. 진행하기 전에 diff, 배포 권한, GitHub의 승인 요청을 검토합니다. +> 다음 프롬프트는 에이전트가 검토한 풀 리퀘스트를 병합하고, 리포지토리의 Pages 설정을 변경하고, 사이트를 게시하도록 승인합니다. 검토를 완료하고 리포지토리와 풀 리퀘스트를 확인한 후에만 보냅니다. 승인 설정에 따라 별도의 확인 프롬프트 없이 이러한 작업이 진행될 수 있습니다. -## 워크플로 검토 및 배포 확인하기 +``를 검토한 풀 리퀘스트 번호로 바꾼 다음 별도의 프롬프트로 보냅니다. -1. 리포지토리에 README가 없는 경우에만 추가되었는지 확인합니다. -2. 워크플로의 빌드 및 배포 단계를 포함해 풀 리퀘스트 변경 사항을 검토합니다. -3. 필수 풀 리퀘스트 검사가 통과한 뒤에만 병합합니다. -4. GitHub Actions 배포 실행이 성공할 때까지 확인합니다. -5. 보고된 URL을 열어 Space Quiz가 로드되는지 확인합니다. +```plaintext +이 리포지토리의 풀 리퀘스트 를 검토했으며 병합과 배포를 승인합니다. GitHub Actions를 사용하도록 GitHub Pages를 활성화하고, 필수 검사가 통과한 뒤에만 해당 풀 리퀘스트를 병합한 다음 배포가 성공할 때까지 모니터링해 주세요. 실제 웹사이트의 최종 URL을 알려 주세요. Pages를 활성화하거나 병합할 권한이 없다면 제가 무엇을 승인하거나 해야 하는지 정확히 알려 주세요. 사이트가 실제로 게시되기 전까지 성공했다고 보고하지 마세요. +``` + +![Space Quiz 풀 리퀘스트 병합, Build website·Upload artifact·Deploy to Pages 단계가 성공한 GitHub Actions 배포 실행, yourname.github.io/space-quiz/에서 열린 Space Quiz를 보여 주는 3단계 다이어그램](../../../_images/first-steps-app-pages-deploy.svg) + +## 배포 확인하기 + +1. GitHub Actions 배포 실행이 성공할 때까지 확인합니다. +2. 보고된 URL을 열어 Space Quiz가 로드되는지 확인합니다. 에이전트가 Pages를 활성화하거나 풀 리퀘스트를 병합할 수 없다면 제공된 구체적인 지침을 따릅니다. 배포가 성공하고 실제 사이트가 로드될 때까지 작업이 완료된 것으로 처리하지 않습니다. diff --git a/docs/ko-kr/first-steps/copilot-app/5-publish.md b/docs/ko-kr/first-steps/copilot-app/5-publish.md index a6396c34..3aa2cdaf 100644 --- a/docs/ko-kr/first-steps/copilot-app/5-publish.md +++ b/docs/ko-kr/first-steps/copilot-app/5-publish.md @@ -16,15 +16,15 @@ Space Quiz를 게시하여 이슈를 관리하고, 격리된 워크트리(Worktr ## 리포지토리 게시 +> [!WARNING] +> 승인 설정에 따라 에이전트가 리포지토리를 만들거나 코드를 푸시하기 전에 확인을 요청할 수도 있고, 해당 작업이 자동으로 승인될 수도 있습니다. **Approve all**에서는 별도의 확인 프롬프트가 표시된다고 기대하지 마십시오. 게시 프롬프트를 보내기 전에 설정, 요청한 작업, 대상을 검토합니다. + 다음 프롬프트를 보냅니다. ```plaintext Initialize this folder as a Git repository, create an initial commit, and create a new public GitHub repository named space-quiz in my account. Push the current branch and set it as the default branch. Refresh the project within this app so the GitHub project is linked. ``` -> [!WARNING] -> 승인 설정에 따라 에이전트가 리포지토리를 만들거나 코드를 푸시하기 전에 확인을 요청할 수도 있고, 해당 작업이 자동으로 승인될 수도 있습니다. **Approve all**에서는 별도의 확인 프롬프트가 표시된다고 기대하지 마십시오. 게시 프롬프트를 보내기 전에 설정, 요청한 작업, 대상을 검토합니다. - 에이전트가 작업을 마치면 다음을 수행합니다. 1. GitHub에서 새 리포지토리를 엽니다. diff --git a/docs/ko-kr/first-steps/copilot-cli/2-project-instructions.md b/docs/ko-kr/first-steps/copilot-cli/2-project-instructions.md index 1ee55863..e55050dd 100644 --- a/docs/ko-kr/first-steps/copilot-cli/2-project-instructions.md +++ b/docs/ko-kr/first-steps/copilot-cli/2-project-instructions.md @@ -16,7 +16,7 @@ lastUpdated: 2026-10-05 ## `/init`으로 규칙 기록하기 -`/init` 뒤에 프롬프트를 입력합니다. 명령만 보내면 `Command input required`가 표시될 수 있습니다. +Copilot CLI에서는 `/init`만으로 실행할 수 있습니다. [CLI 명령 참조][cli-init]에 설명된 대로 생성할 내용을 안내하는 지침을 추가할 수도 있습니다. 이 예제에서는 간단한 프로젝트 규칙을 요청합니다. 1. 세션에서 `/init create simple rules for the project`를 실행합니다. 2. 생성된 지침 파일을 수락하기 전에 검토합니다. @@ -36,3 +36,4 @@ lastUpdated: 2026-10-05 이제 프로젝트에 실제 코드를 바탕으로 작성한 에이전트 지침이 있습니다. [레슨 3: 프로젝트 게시][next-lesson]를 계속 진행합니다. [next-lesson]: ../3-publish/ +[cli-init]: https://docs.github.com/copilot/reference/copilot-cli-reference/cli-command-reference#project-initialization-for-copilot diff --git a/docs/ko-kr/real-world-development/app/1-install-copilot-app.md b/docs/ko-kr/real-world-development/app/1-install-copilot-app.md index f928917a..60b8b6e2 100644 --- a/docs/ko-kr/real-world-development/app/1-install-copilot-app.md +++ b/docs/ko-kr/real-world-development/app/1-install-copilot-app.md @@ -29,7 +29,10 @@ GitHub Copilot app을 사용하려면 먼저 앱을 설치해야 합니다. Wind 1. 브라우저에서 [GitHub Copilot app 랜딩 페이지][download-app]를 엽니다. 2. 플랫폼에 맞는 앱을 다운로드하고 랜딩 페이지의 지침에 따라 설치합니다. 3. 설치가 끝나면 앱을 엽니다. -4. **Sign in to GitHub**을 선택하고 안내에 따라 인증합니다. GitHub Enterprise Server를 사용하는 경우 **Use GitHub Enterprise**를 선택하고 메시지가 표시되면 서버 주소를 입력합니다. +4. **Sign in to GitHub**을 선택하고 안내에 따라 GitHub.com 또는 GHE.com 계정으로 로그인합니다. 데이터 상주를 지원하는 GitHub Enterprise Cloud를 사용하는 경우 **GitHub Enterprise Cloud**를 선택하고 메시지가 표시되면 `*.ghe.com` 호스트 이름을 입력합니다. + + GitHub Enterprise Server를 사용하는 경우 먼저 클라우드 계정으로 온보딩을 완료합니다. 그런 다음 **Settings**를 열고 **Accounts**, **Add account**, **GitHub Enterprise Server**를 차례로 선택합니다. [Enterprise Server 로그인 가이드][ghes-sign-in]에 설명된 대로 안내에 따라 브라우저에서 앱을 승인합니다. + 5. 인증한 후 리포지토리를 연결하라는 메시지가 표시되면 방금 만든 `/tailspin-toys`라는 이름의 Tailspin Toys 리포지토리를 선택합니다. 6. **Continue**를 선택하여 온보딩을 계속합니다. 7. 테마를 선택하라는 메시지가 표시되면 가장 마음에 드는 테마를 선택한 다음 **Finish**를 선택합니다. @@ -103,4 +106,5 @@ GitHub Copilot app을 설치하고 프로젝트를 연결하고 워크스페이 [about-copilot-app]: https://docs.github.com/copilot/concepts/agents/github-copilot-app [getting-started]: https://docs.github.com/copilot/how-tos/github-copilot-app/getting-started [agent-sessions]: https://docs.github.com/copilot/how-tos/github-copilot-app/agent-sessions -[download-app]: https://gh.io/app \ No newline at end of file +[download-app]: https://gh.io/app +[ghes-sign-in]: https://docs.github.com/enterprise-server@3.22/copilot/copilot-on-ghes/sign-in-on-copilot-app \ No newline at end of file diff --git a/docs/pt-br/first-steps/copilot-app/5-publish.md b/docs/pt-br/first-steps/copilot-app/5-publish.md index c44e7d17..2354df84 100644 --- a/docs/pt-br/first-steps/copilot-app/5-publish.md +++ b/docs/pt-br/first-steps/copilot-app/5-publish.md @@ -16,15 +16,15 @@ Nesta lição, você vai: ## Publicar o repositório +> [!WARNING] +> Dependendo das configurações de aprovação, o agente pode pedir confirmação antes de criar um repositório ou enviar código, ou essas ações podem ser aprovadas automaticamente. Com **Approve all**, não espere um prompt de confirmação separado. Revise as configurações, a ação solicitada e o destino antes de enviar o prompt de publicação. + Envie o seguinte prompt: ```plaintext Initialize this folder as a Git repository, create an initial commit, and create a new public GitHub repository named space-quiz in my account. Push the current branch and set it as the default branch. Refresh the project within this app so the GitHub project is linked. ``` -> [!WARNING] -> Dependendo das configurações de aprovação, o agente pode pedir confirmação antes de criar um repositório ou enviar código, ou essas ações podem ser aprovadas automaticamente. Com **Approve all**, não espere um prompt de confirmação separado. Revise as configurações, a ação solicitada e o destino antes de enviar o prompt de publicação. - Quando o agente terminar: 1. Abra o novo repositório no GitHub. diff --git a/docs/pt-br/first-steps/copilot-cli/2-project-instructions.md b/docs/pt-br/first-steps/copilot-cli/2-project-instructions.md index e5e66c6a..e2130a9e 100644 --- a/docs/pt-br/first-steps/copilot-cli/2-project-instructions.md +++ b/docs/pt-br/first-steps/copilot-cli/2-project-instructions.md @@ -16,7 +16,7 @@ Nesta lição, você vai: ## Registrar as regras com `/init` -Inclua um prompt depois de `/init`. Enviar apenas o comando pode exibir `Command input required`. +No Copilot CLI, `/init` funciona sem texto adicional; você também pode acrescentar instruções para orientar o que será gerado, conforme a [referência de comandos da CLI][cli-init]. Este exemplo inclui um pedido de regras simples para o projeto. 1. Execute `/init create simple rules for the project` na sessão. 2. Revise o arquivo de instruções gerado antes de aceitá-lo. @@ -36,3 +36,4 @@ O arquivo de instruções não serve apenas para registrar fatos sobre o projeto Seu projeto agora tem instruções para o agente baseadas em código real. Continue com a [Lição 3: Publicar o projeto][next-lesson]. [next-lesson]: ../3-publish/ +[cli-init]: https://docs.github.com/copilot/reference/copilot-cli-reference/cli-command-reference#project-initialization-for-copilot diff --git a/docs/pt-br/real-world-development/app/1-install-copilot-app.md b/docs/pt-br/real-world-development/app/1-install-copilot-app.md index 3e634da6..d4e41380 100644 --- a/docs/pt-br/real-world-development/app/1-install-copilot-app.md +++ b/docs/pt-br/real-world-development/app/1-install-copilot-app.md @@ -29,7 +29,10 @@ Como você pode imaginar, a primeira etapa para usar o aplicativo GitHub Copilot 1. Em um navegador, abra a [página inicial do aplicativo GitHub Copilot][download-app]. 2. Baixe o aplicativo para sua plataforma e instale-o seguindo as instruções da página. 3. Abra o aplicativo após a instalação. -4. Selecione **Sign in to GitHub** e siga as instruções para se autenticar. Se você usa o GitHub Enterprise Server, escolha **Use GitHub Enterprise** e informe o endereço do servidor quando solicitado. +4. Selecione **Sign in to GitHub** e siga as instruções para entrar com uma conta do GitHub.com ou GHE.com. Se você usa o GitHub Enterprise Cloud com residência de dados, escolha **GitHub Enterprise Cloud** e informe o nome de host `*.ghe.com` quando solicitado. + + Se você usa o GitHub Enterprise Server, primeiro conclua a integração com sua conta na nuvem. Depois, abra **Settings**, selecione **Accounts**, selecione **Add account** e escolha **GitHub Enterprise Server**. Siga as instruções para autorizar o aplicativo no navegador, conforme o [guia de login no Enterprise Server][ghes-sign-in]. + 5. Após a autenticação, o aplicativo perguntará sobre a conexão dos seus repositórios. Selecione o repositório Tailspin Toys que você acabou de criar, cujo nome deve ser `/tailspin-toys`. 6. Selecione **Continue** para continuar a integração. 7. Quando o aplicativo solicitar um tema, selecione aquele que mais lhe agrada e depois selecione **Finish**. @@ -103,4 +106,5 @@ Em seguida, você [iniciará sua primeira sessão de agente][next-lesson] e a us [about-copilot-app]: https://docs.github.com/copilot/concepts/agents/github-copilot-app [getting-started]: https://docs.github.com/copilot/how-tos/github-copilot-app/getting-started [agent-sessions]: https://docs.github.com/copilot/how-tos/github-copilot-app/agent-sessions -[download-app]: https://gh.io/app \ No newline at end of file +[download-app]: https://gh.io/app +[ghes-sign-in]: https://docs.github.com/enterprise-server@3.22/copilot/copilot-on-ghes/sign-in-on-copilot-app \ No newline at end of file diff --git a/docs/real-world-development/app/1-install-copilot-app.md b/docs/real-world-development/app/1-install-copilot-app.md index 4db27840..bb3db183 100644 --- a/docs/real-world-development/app/1-install-copilot-app.md +++ b/docs/real-world-development/app/1-install-copilot-app.md @@ -29,7 +29,10 @@ To use the GitHub Copilot app the first step, as you might imagine, is to instal 1. In a browser, open the [landing page for the GitHub Copilot app][download-app]. 2. Download the app for your platform and install it following the instructions provided on the landing page. 3. Open the app once it's installed. -4. Select **Sign in to GitHub** and follow the prompts to authenticate. If you use GitHub Enterprise Cloud with data residency, choose **Use GitHub Enterprise** and enter your `*.ghe.com` hostname when prompted. GitHub Enterprise Server is not supported. +4. Select **Sign in to GitHub** and follow the prompts to sign in with a GitHub.com or GHE.com account. If you use GitHub Enterprise Cloud with data residency, choose **GitHub Enterprise Cloud** and enter your `*.ghe.com` hostname when prompted. + + If you use GitHub Enterprise Server, first complete onboarding with your cloud account. Then open **Settings**, select **Accounts**, select **Add account**, and choose **GitHub Enterprise Server**. Follow the prompts to authorize the app in your browser, as described in the [Enterprise Server sign-in guide][ghes-sign-in]. + 5. If onboarding offers repository selection, select the Tailspin Toys repository you created from the template. You can also skip repository selection and add the project after onboarding. 6. Choose a theme when prompted, then finish onboarding. 7. Look for your repository under **Sessions** in the sidebar. If it is already listed, you do not need to add it again. @@ -103,3 +106,4 @@ Next, you'll [start your first agent session][next-lesson] and use it to show a [getting-started]: https://docs.github.com/copilot/how-tos/github-copilot-app/getting-started [agent-sessions]: https://docs.github.com/copilot/how-tos/github-copilot-app/agent-sessions [download-app]: https://gh.io/app +[ghes-sign-in]: https://docs.github.com/enterprise-server@3.22/copilot/copilot-on-ghes/sign-in-on-copilot-app diff --git a/docs/zh-cn/first-steps/copilot-app/5-publish.md b/docs/zh-cn/first-steps/copilot-app/5-publish.md index 311889dd..2179ea75 100644 --- a/docs/zh-cn/first-steps/copilot-app/5-publish.md +++ b/docs/zh-cn/first-steps/copilot-app/5-publish.md @@ -16,15 +16,15 @@ lastUpdated: 2026-10-05 ## 发布存储库 +> [!WARNING] +> 根据审批设置,智能体可能在创建存储库或推送代码前要求确认,也可能自动批准这些操作。启用 **Approve all** 时,不要指望出现单独的确认提示。发送发布提示词前,先审查设置、请求的操作和目标位置。 + 发送以下提示词: ```plaintext Initialize this folder as a Git repository, create an initial commit, and create a new public GitHub repository named space-quiz in my account. Push the current branch and set it as the default branch. Refresh the project within this app so the GitHub project is linked. ``` -> [!WARNING] -> 根据审批设置,智能体可能在创建存储库或推送代码前要求确认,也可能自动批准这些操作。启用 **Approve all** 时,不要指望出现单独的确认提示。发送发布提示词前,先审查设置、请求的操作和目标位置。 - 智能体完成后: 1. 在 GitHub 上打开新存储库。 diff --git a/docs/zh-cn/first-steps/copilot-cli/2-project-instructions.md b/docs/zh-cn/first-steps/copilot-cli/2-project-instructions.md index 8f17a578..533c8cdd 100644 --- a/docs/zh-cn/first-steps/copilot-cli/2-project-instructions.md +++ b/docs/zh-cn/first-steps/copilot-cli/2-project-instructions.md @@ -16,7 +16,7 @@ lastUpdated: 2026-10-05 ## 使用 `/init` 记录规则 -在 `/init` 后添加提示词。只发送命令本身可能会出现 `Command input required`。 +在 Copilot CLI 中,`/init` 可以单独运行;也可以按照 [CLI 命令参考][cli-init]中的说明添加指令,引导生成的内容。本示例添加了为项目创建简单规则的请求。 1. 在会话中运行 `/init create simple rules for the project`。 2. 接受生成的指令文件之前先审查。 @@ -36,3 +36,4 @@ lastUpdated: 2026-10-05 项目现在有了基于真实代码的智能体指令。继续学习[第 3 课:发布项目][next-lesson]。 [next-lesson]: ../3-publish/ +[cli-init]: https://docs.github.com/copilot/reference/copilot-cli-reference/cli-command-reference#project-initialization-for-copilot diff --git a/docs/zh-cn/real-world-development/app/1-install-copilot-app.md b/docs/zh-cn/real-world-development/app/1-install-copilot-app.md index 616bdb60..0c05601b 100644 --- a/docs/zh-cn/real-world-development/app/1-install-copilot-app.md +++ b/docs/zh-cn/real-world-development/app/1-install-copilot-app.md @@ -29,7 +29,10 @@ lastUpdated: 2026-10-05 1. 在浏览器中打开 [GitHub Copilot app 产品页面][download-app]。 2. 下载适用于当前平台的应用,并按照产品页面上的说明进行安装。 3. 安装完成后打开应用。 -4. 选择 **Sign in to GitHub**,并按照提示完成身份验证。如果使用 GitHub Enterprise Server,请选择 **Use GitHub Enterprise**,并在提示时输入服务器地址。 +4. 选择 **Sign in to GitHub**,并按照提示使用 GitHub.com 或 GHE.com 账户登录。如果使用支持数据驻留的 GitHub Enterprise Cloud,选择 **GitHub Enterprise Cloud**,并在提示时输入 `*.ghe.com` 主机名。 + + 如果使用 GitHub Enterprise Server,先使用云账户完成初始设置。然后打开 **Settings**,依次选择 **Accounts**、**Add account** 和 **GitHub Enterprise Server**。按照 [Enterprise Server 登录指南][ghes-sign-in]中的提示,在浏览器中授权应用。 + 5. 身份验证后,系统会询问要连接哪些存储库。选择刚创建的 Tailspin Toys 存储库,其名称应为 `/tailspin-toys`。 6. 选择 **Continue** 继续加入流程。 7. 系统提示选择主题时,选择最喜欢的主题,再选择 **Finish**。 @@ -103,4 +106,5 @@ lastUpdated: 2026-10-05 [about-copilot-app]: https://docs.github.com/copilot/concepts/agents/github-copilot-app [getting-started]: https://docs.github.com/copilot/how-tos/github-copilot-app/getting-started [agent-sessions]: https://docs.github.com/copilot/how-tos/github-copilot-app/agent-sessions -[download-app]: https://gh.io/app \ No newline at end of file +[download-app]: https://gh.io/app +[ghes-sign-in]: https://docs.github.com/enterprise-server@3.22/copilot/copilot-on-ghes/sign-in-on-copilot-app \ No newline at end of file