austenstone/GitHub Copilot CLI
GitHub Copilot CLI wrapper
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 22, 2026
- License
- None
Pinned Snippet
uses: austenstone/copilot-cli@122f2d1522fdec4497d11fe57965ac0112db87e3 # v3.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| copilot-token | (Deprecated) The default github.token now supports copilot-requests permission — no PAT needed. Only provide this if you need to override with a specific token. | no | ${{ github.token }} |
| repo-token | Token for repository operations (gh CLI). Defaults to github.token. Use a PAT if the agent needs elevated repo permissions. | no | ${{ github.token }} |
| prompt | Prompt to send to GitHub Copilot | yes | — |
| mcp-config | MCP configuration for GitHub Copilot [Link](https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/extend-coding-agent-with-mcp#writing-a-json-configuration-for-mcp-servers) | no | — |
| copilot-config | Configuration for GitHub Copilot | no | { "banner": "never", "renderMarkdown": true, "theme": "auto", "trustedFolders": [] } |
| autopilot | Enable autopilot continuation in prompt mode | no | true |
| max-turns | Maximum number of autopilot continuation turns (CLI default: 5 when unset) | no | — |
| no-ask-user | Disable the ask_user tool so the agent works autonomously without asking questions | no | true |
| silent | Output only the agent response without usage statistics | no | false |
| allow-all-tools | Allow all tools without approval | no | true |
| allowed-tools | Comma-separated list of tools to allow (e.g., "shell(rm),shell(git push)") | no | — |
| denied-tools | Comma-separated list of tools to deny (e.g., "shell(rm),shell(git push)") | no | — |
| allowed-urls | Comma-separated list of URLs or domains to allow (e.g., "github.com,*.api.com") | no | — |
| denied-urls | Comma-separated list of URLs or domains to deny (e.g., "evil.com") | no | — |
| copilot-version | Version of Copilot CLI to install (e.g., "latest", "prerelease", "1.0.63") | no | prerelease |
| model | Model to use (e.g., "claude-sonnet-4.6", "claude-opus-4.8", "gpt-5.5") | no | — |
| additional-directories | Comma-separated list of additional directories to trust for file access (e.g., "/tmp,/var/log") | no | — |
| disable-mcp-servers | Comma-separated list of MCP servers to disable (e.g., "github-mcp-server,custom-server") | no | — |
| disable-builtin-mcps | Disable all built-in MCP servers (currently only github-mcp-server) | no | false |
| enable-all-github-mcp-tools | Enable all GitHub MCP tools | no | false |
| add-github-mcp-tools | Comma-separated list of specific GitHub MCP tools to enable (e.g., "create_issue,search_code") | no | — |
| add-github-mcp-toolsets | Comma-separated list of GitHub MCP toolsets to enable (e.g., "issues,pull_requests") | no | — |
| resume-session | Resume from a previous session ID (use "latest" for most recent) | no | — |
| upload-artifact | Upload artifact after running Copilot | no | true |
| agent | Specify a custom agent to use | no | — |
| reasoning-effort | Set the reasoning effort level (choices: "none", "low", "medium", "high", "xhigh", "max") | no | — |
| output-format | Output format (e.g., "json" for JSONL output in prompt mode) | no | — |
| experimental | Enable experimental features | no | false |
| share | Share session to a markdown file after completion (provide a file path, or "true" for default) | no | — |
| share-gist | Share session to a secret GitHub gist after completion | no | false |
| fail-on-error | Fail the step if the Copilot CLI exits with a non-zero exit code | no | false |
| log-level | Set the log level (choices: "none", "error", "warning", "info", "debug", "all", "default") | no | all |
| options | Additional options to pass to the Copilot CLI (e.g., "--no-custom-instructions --model gpt-5") | no | --screen-reader --no-color --stream off |
| secret-env-vars | Comma-separated list of environment variable names whose values will be redacted from output and logs (e.g., "MY_SECRET,API_KEY") | no | — |
| allow-all-urls | Allow all URLs/network access without approval | no | false |
| allow-all-paths | Allow access to all file paths without approval. When false (default), the agent is scoped to $GITHUB_WORKSPACE instead of the entire filesystem. | no | false |
| context | Context window mode (choices: "default", "long_context") | no | — |
| attachments | Comma-separated list of file paths to attach to the prompt (e.g., "./diagram.png,./notes.txt") | no | — |
| available-tools | Comma-separated list of tools to make available (allowlist) | no | — |
| excluded-tools | Comma-separated list of tools to exclude | no | — |
| enable-memory | Enable the agent memory feature | no | false |
| additional-mcp-config | Comma-separated list of additional MCP configurations; each item is a JSON string or an @file path (e.g., "@mcp.json") | no | — |
| mode | Run mode (choices: "interactive", "plan", "autopilot") | no | — |
| session-id | Use a specific session ID | no | — |
| name | Name for the session | no | — |
| disallow-temp-dir | Disallow the agent from using the system temp directory | no | false |
| plugin-dir | Comma-separated list of plugin directories to load | no | — |
Outputs
| name | description |
|---|---|
| logs-path | Path to the copilot logs directory |
| exit-code | Exit code from the Copilot CLI command |
| session-path | Path to the shared session markdown file (if share was used) |