The GitHub scaffold skill sets up an Agentic DevOps pipeline with Snowflake CoCo on GitHub Actions in one guided conversation.
- A GitHub repo from the github-coco-agent template
- Three Snowflake objects (role, warehouse, SERVICE user) with OIDC trust
- Four GitHub secrets +
COCO_MAX_AUTOrepository variable - Branch protection (require 1 PR review)
.github/coco-config.ymlwithconservativefix ceiling
Asks: setup mode, project type (new / import), repo name, visibility, Snowflake prefix and account.
For a new repo: creates from template, disables Actions immediately.
For an existing repo: clones and adds CI workflow files with [skip ci] to prevent premature runs.
Confirms GitHub Actions are disabled. For existing repos, disables them now.
Provisions the OIDC SERVICE user:
CREATE USER IF NOT EXISTS $SF_USER TYPE = SERVICE;
ALTER USER $SF_USER SET WORKLOAD_IDENTITY = (
TYPE = OIDC
ISSUER = 'https://token.actions.githubusercontent.com'
SUBJECT = 'repo:$REPO_PATH:ref:refs/heads/main'
);Quick start: sets secrets + COCO_MAX_AUTO, re-enables Actions, applies branch protection. Done.
Full setup: asks whether to run the smoke test (Step 5).
Pushes a sample app with 3 intentional bugs. Scan workflow fires, issues are raised, fix PRs are opened. See Demo walkthrough →
Tears down everything in dependency order: disable Actions — drop Snowflake objects — delete repo — remove local clone.
The CI pipeline uses Workload Identity Federation. The combined snowflakedb/snowflake-actions@v3 action (with cortex-code: true) handles OIDC token exchange, CLI installation, and connections.toml generation in a single step.