Documentation Index
Fetch the complete documentation index at: https://kawax.biz/llms.txt
Use this file to discover all available pages before exploring further.
Usage in GitHub Actions
This is a pattern for running an Artisan command in GitHub Actions where that command uses Copilot CLI. In GitHub Actions, stdio mode is typically the standard choice.Install copilot directly
- Install with
copilot-install. The executable is available ascopilotwithout extra path setup. - Authenticate with
COPILOT_GITHUB_TOKEN. You can also use any auth method supported by Copilot CLI, such asGH_TOKENorGITHUB_TOKEN. - The token needs
Copilot Requestspermission, so defaultGITHUB_TOKENmay not be enough.
Use gh command
GitHub CLI 2.86.0 added Copilot install support. Since GitHub Actions runners usually already include gh, you can use it without an extra install step.
Most environments install Copilot automatically on the first gh copilot ... call, so running gh copilot version is usually enough.
gh version 2.86.0 (2026-01-21) https://github.com/cli/cli/releases/tag/v2.86.0 ā Copilot CLI installed successfully
COPILOT_CLI_PATH has special handling only for gh copilot. Other custom values are not supported in the same way.
For the latest updates, see the GitHub repository.