snowflakedb/Snowflake Actions

Snowflake CI/CD actions for GitHub. Install the Snowflake CLI and/or the Cortex Code CLI, and configure authentication.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
snowflake-cliInstall the Snowflake CLI (snow).notrue
cortex-codeInstall the Cortex Code CLI (cortex). Public preview.nofalse
cli-versionSnowflake CLI version (by default, installs the latest version)no
default-config-file-pathPath to the default config fileno./config.toml
custom-github-refGitHub branch, tag, or commit to install the Snowflake CLI from (if set, installs from GitHub; otherwise, installs from PyPI)no
cortex-channelCortex Code CLI install channel: stable or betanostable
cortex-versionCortex Code CLI version to install (e.g. 1.5.2). Use 'latest' for the newest in the channel.nolatest
connection-nameConnection name written to connections.toml when configuring the Cortex Code CLI from OIDCnodefault
cortex-promptOptional inline Cortex Code prompt string to run after setup (only when cortex-code: true). Mutually exclusive with cortex-prompt-file. Leave both empty to install and configure only.no""
cortex-prompt-fileOptional path to a file containing the Cortex Code prompt to run after setup (only when cortex-code: true). Mutually exclusive with cortex-prompt.no""
cortex-prompt-argsExtra arguments appended to `cortex exec` when running cortex-prompt/cortex-prompt-file (e.g. '--max-turns 4 --output-format stream-json'). Space-separated; quoted arguments containing spaces are not supported.no""
use-oidcEnable OIDC authenticationnofalse
oidc-token-nameName of the token environment variable for OIDC authentication. By default it is set for temporary connections (https://docs.snowflake.com/en/developer-guide/snowflake-cli/connecting/configure-connections#use-a-temporary-connection); change it to SNOWFLAKE_CONNECTIONS_<NAME>_TOKEN to work with named connections.noSNOWFLAKE_TOKEN
namedescription
snowflake-cli-versionInstalled Snowflake CLI version (empty if snowflake-cli was not installed)
cortex-versionInstalled Cortex Code CLI version (empty if cortex-code was not installed)