mvkaran/GitHub Copilot Action

Use GitHub Copilot in your workflows via the official Copilot SDK with flexible prompts and structured outputs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
copilot-tokenGitHub token with "Copilot Requests" permission for accessing Copilot APIyes
github-mcp-tokenGitHub token for the GitHub MCP server (Repo/Issues read permissions required). If not provided, GitHub Context access will be limited.no
github-mcp-server-urlURL for the GitHub MCP servernohttps://api.githubcopilot.com/mcp/readonly
mcp-serversJSON configuration for additional MCP servers. Will be merged with the default GitHub MCP configuration.no
mcp-servers-filePath to a JSON file containing MCP server configuration. Will be merged with the default GitHub MCP configuration.no
promptThe prompt text to send to Copilot. Supports GitHub Actions expressions for dynamic content.no
prompt-filePath to a file containing the prompt. File content will be interpolated before sending to Copilotno
modelThe Copilot model to use. If not specified, uses the default model. Check GitHub Copilot documentation for available modelsno
output-formatExpected output format: text, json, yaml, markdown, or a custom formatnotext
output-schemaSchema or structure specification for the output. For JSON, provide a JSON schema or example structure. For YAML, provide the expected structure. This will be included in the prompt to guide Copilot.no
output-schema-filePath to a file containing the output schema. Alternative to output-schema for complex schemas.no
output-filePath to save the Copilot response to a fileno
cli-versionVersion of Copilot CLI to install (e.g., "1.0.0" or "latest")nolatest
timeoutTimeout in minutes for Copilot response (1-30, default: 5)no5
system-promptAdditional system prompt to provide context to Copilot. Will be combined with the default system promptno
namedescription
responseThe response from Copilot
validation-statusStatus of output format validation (valid, invalid, error)
validation-errorsAny validation errors encountered during format validation