ci-cd-pipeline

Automate Salesforce DX CI/CD pipelines with GitHub Actions and JWT authentication.

2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/bhanu91221/claude-sfdx-iq --skill ci-cd-pipeline-bhanu91221
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-cd-pipeline
Source: https://github.com/bhanu91221/claude-sfdx-iq/tree/main/skills/ci-cd-pipeline
Command: npx skills add https://github.com/bhanu91221/claude-sfdx-iq --skill ci-cd-pipeline-bhanu91221

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates Salesforce DX CI/CD processes, enabling secure, repeatable builds and deployments across environments using GitHub Actions and JWT-based authentication.

Core Features & Use Cases

  • GitHub Actions workflows for PR validation, sandbox deployment, and production release.
  • JWT-based Salesforce authentication for headless CI.
  • Scratch org provisioning, source push, test execution with code coverage gates, and artifact management.
  • SFDX scanner integration and artifact management.
  • Use Case: Apply this to ensure consistent deployments across dev, staging, and prod with automated checks.

Quick Start

Add the supplied GitHub Actions workflows to your repository, configure the Salesforce JWT secrets, and open a pull request to start the CI/CD pipeline.

Frequently Asked Questions about ci-cd-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Salesforce DX deployments with GitHub Actions?

Automate Salesforce DX deployments using GitHub Actions workflows for PR validation, sandbox deployment, and production releases. You need the Salesforce CLI, a connected app configured for JWT authentication, and repository secrets for the key, consumer key, and usernames to enable secure, headless CI.

What is JWT-based authentication for Salesforce CI/CD pipelines?

JWT-based authentication enables headless Salesforce CI/CD by using a connected app and repository secrets to securely authorize the Salesforce CLI without interactive logins. This allows automated builds, tests, and deployments across environments in GitHub Actions.

How do I set up Salesforce scratch orgs and code coverage gates in CI?

Set up Salesforce scratch orgs and code coverage gates by adding GitHub Actions workflows that provision scratch orgs, push source, execute tests, and enforce coverage validation. SFDX scanner integration and artifact management ensure consistent automated checks before deployment.

Do I need a connected app to use GitHub Actions for Salesforce?

Yes, you need a Salesforce connected app configured for JWT authentication to use GitHub Actions for Salesforce. You must also configure repository secrets for the server key, consumer key, and usernames to enable secure, automated CI/CD pipelines.

What is the best way to validate Salesforce pull requests before deployment?

The best way to validate Salesforce pull requests is applying GitHub Actions workflows that automate scratch org provisioning, source push, test execution, and code coverage gates. SFDX scanner integration and artifact management ensure consistent deployment checks across environments.

Why does my Salesforce DX CI/CD pipeline fail during headless authentication?

Salesforce DX CI/CD pipelines fail during headless authentication if repository secrets for the JWT key, consumer key, or usernames are missing or misconfigured. Ensure your connected app is correctly set up for JWT-based authentication to enable secure, automated builds.