sfc-gh-mcastro/Cortex Code Action

GitHub Action that integrates Snowflake Cortex Code as an AI assistant for PRs and issues. Triggered by @cortex-code mentions.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
trigger_phrasePhrase that triggers the action in commentsno@cortex-code
snowflake_accountSnowflake account identifier (e.g., myorg-myaccount)yes
snowflake_userSnowflake username for authenticationyes
snowflake_private_keySnowflake key-pair private key (PEM format). Mutually exclusive with snowflake_api_key.no
snowflake_api_keySnowflake API key or PAT. Mutually exclusive with snowflake_private_key.no
github_tokenGitHub token for API operations (PR comments, status checks)no${{ github.token }}
modelModel identifier for Cortex Code (e.g., auto, claude-sonnet-4-6, openai-gpt-5.2)noauto
allowed_toolsComma-separated additional tools to allow (e.g., SQL,WebSearch)no""
disallowed_toolsComma-separated tools to denyno""
system_promptAdditional system prompt text to append to the defaultno""
branch_prefixPrefix for branches created by Cortex Codenocortex-code/
bot_nameDisplay name for the bot in git operationsnocortex-code[bot]
bot_idGitHub user ID for git operationsno41898282
max_turnsMaximum number of agentic turns before stoppingno""
base_branchBase branch for new branches (defaults to repo default branch)no""
promptDirect prompt for agent mode. When provided, skips trigger detection and uses this as the instruction (e.g., for automated PR reviews).no""
namedescription
branch_nameThe branch created or used by Cortex Code
session_idCortex Code session ID for resuming
conclusionResult status: success or failure