From 678bd1b127cf8fcebf4b60a7364e198df0efb8fd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Jul 2026 05:40:37 +0000 Subject: [PATCH 1/2] Initial plan From e6564300315addd07d935b14bf20273184bbc39e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 6 Jul 2026 05:49:41 +0000 Subject: [PATCH 2/2] Replace four API key Note callouts with tabbed engine-selector in quick-start.mdx Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- docs/src/content/docs/setup/quick-start.mdx | 54 +++++++++++---------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/docs/src/content/docs/setup/quick-start.mdx b/docs/src/content/docs/setup/quick-start.mdx index 32f5b1750cc..7a8b724d053 100644 --- a/docs/src/content/docs/setup/quick-start.mdx +++ b/docs/src/content/docs/setup/quick-start.mdx @@ -6,6 +6,7 @@ sidebar: --- import Video from '../../../components/Video.astro'; +import { Tabs, TabItem } from '@astrojs/starlight/components'; ## Adding an Automated Daily Status Workflow to Your Repo @@ -84,32 +85,33 @@ This will take you through an interactive process to: > [!NOTE] > The `.lock.yml` is the compiled GitHub Actions workflow generated from your markdown — it is what actually runs, and it is regenerated automatically, so you never edit it by hand. See [Lock File](/gh-aw/reference/workflow-structure/#lock-file-header) for the full explanation. -> [!NOTE] -> **Setting up `COPILOT_GITHUB_TOKEN`?** -> 1. [Create a fine-grained Personal Access Token (PAT)](https://github.com/settings/personal-access-tokens/new) under your user account. -> 2. Under **Permissions → Account permissions**, set **Copilot Requests** to **Read**, then generate the token. -> 3. Add it as a repository secret from your repository root with `gh secret set COPILOT_GITHUB_TOKEN < /path/to/token.txt`, or use the GitHub UI. See [Authentication](/gh-aw/reference/auth/#copilot_github_token) for more detail. -> - -> [!NOTE] -> **Setting up `ANTHROPIC_API_KEY`?** -> 1. Create an API key in [Anthropic Console](https://console.anthropic.com/settings/keys). -> 2. Add it as a repository secret from your repository root with `gh secret set ANTHROPIC_API_KEY < /path/to/key.txt`, or use the GitHub UI. See [Authentication](/gh-aw/reference/auth/#anthropic_api_key) for more detail. -> - -> [!NOTE] -> **Setting up `OPENAI_API_KEY`?** -> 1. Create an API key in [OpenAI API keys](https://platform.openai.com/api-keys). -> 2. Add it as a repository secret from your repository root with `gh secret set OPENAI_API_KEY < /path/to/key.txt`, or use the GitHub UI. See [Authentication](/gh-aw/reference/auth/#openai_api_key) for more detail. -> -> **Tip:** `CODEX_API_KEY` is also accepted and takes precedence over `OPENAI_API_KEY` — if you have already stored the key under that name, no action is needed. See [Authentication](/gh-aw/reference/auth/#openai_api_key) for details. -> - -> [!NOTE] -> **Setting up `GEMINI_API_KEY`?** -> 1. Create an API key in [Google AI Studio](https://aistudio.google.com/api-keys). -> 2. Add it as a repository secret from your repository root with `gh secret set GEMINI_API_KEY < /path/to/key.txt`, or use the GitHub UI. See [Authentication](/gh-aw/reference/auth/#gemini_api_key) for more detail. -> +**Setting up your API key?** Select the engine you chose above: + + + + **Setting up `COPILOT_GITHUB_TOKEN`:** + 1. [Create a fine-grained Personal Access Token (PAT)](https://github.com/settings/personal-access-tokens/new) under your user account. + 2. Under **Permissions → Account permissions**, set **Copilot Requests** to **Read**, then generate the token. + 3. Add it as a repository secret from your repository root with `gh secret set COPILOT_GITHUB_TOKEN < /path/to/token.txt`, or use the GitHub UI. See [Authentication](/gh-aw/reference/auth/#copilot_github_token) for more detail. + + + **Setting up `ANTHROPIC_API_KEY`:** + 1. Create an API key in [Anthropic Console](https://console.anthropic.com/settings/keys). + 2. Add it as a repository secret from your repository root with `gh secret set ANTHROPIC_API_KEY < /path/to/key.txt`, or use the GitHub UI. See [Authentication](/gh-aw/reference/auth/#anthropic_api_key) for more detail. + + + **Setting up `OPENAI_API_KEY`:** + 1. Create an API key in [OpenAI API keys](https://platform.openai.com/api-keys). + 2. Add it as a repository secret from your repository root with `gh secret set OPENAI_API_KEY < /path/to/key.txt`, or use the GitHub UI. See [Authentication](/gh-aw/reference/auth/#openai_api_key) for more detail. + + **Tip:** `CODEX_API_KEY` is also accepted and takes precedence over `OPENAI_API_KEY` — if you have already stored the key under that name, no action is needed. See [Authentication](/gh-aw/reference/auth/#openai_api_key) for details. + + + **Setting up `GEMINI_API_KEY`:** + 1. Create an API key in [Google AI Studio](https://aistudio.google.com/api-keys). + 2. Add it as a repository secret from your repository root with `gh secret set GEMINI_API_KEY < /path/to/key.txt`, or use the GitHub UI. See [Authentication](/gh-aw/reference/auth/#gemini_api_key) for more detail. + + > [!TIP] > **Having trouble?** Check your [repository secrets](/gh-aw/reference/auth/), see the [FAQ](/gh-aw/reference/faq/) and [Common Issues](/gh-aw/troubleshooting/common-issues/).