cicd-pipeline-safety

Enforce credential handling, action pinning, and environment protections in GitHub Actions pipelines.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/lgerard314/global-plugin --skill cicd-pipeline-safety
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cicd-pipeline-safety
Source: https://github.com/lgerard314/global-plugin/tree/main/plugin/skills/cicd-pipeline-safety
Command: npx skills add https://github.com/lgerard314/global-plugin --skill cicd-pipeline-safety

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guardrails and best-practice controls for GitHub Actions pipelines, helping teams enforce secure credential handling, action pinning, environment protections, and reliable checks across environments without handling deployment mechanics.

Core Features & Use Cases

  • Enforce OpenID Connect-based AWS credentials and require SHA-pinning for third-party actions.
  • Enforce environment-scoped secrets and branch protections to prevent production mistakes.
  • Enforce required checks (type-check, unit, integration, build) in branch protection, and provide reusable guidance for workflows.
  • Provide fork-prioritizing safety patterns, artifact provenance, and retention guidance to improve incident investigation.
  • Offer review playbooks and safety patterns for pipeline changes, secrets, and deployment handoffs.

Quick Start

Review and apply the CI/CD pipeline safety guardrails to your GitHub Actions workflows to harden credentials, pin actions, and enforce environment protections.

Frequently Asked Questions about cicd-pipeline-safety

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

FAQPage Schema
How do I secure GitHub Actions credentials using OIDC?▼

GitHub Actions pipeline safety requires enforcing OpenID Connect-based AWS credentials, SHA-pinning third-party actions, and environment-scoped secrets to prevent unauthorized access and protect production environments.

What are the best practices for branch protection in CI/CD pipelines?▼

Branch protection best practices involve enforcing required checks like type-check, unit, integration, and build tests, alongside environment gates and artifact provenance to ensure safe deployment patterns are followed.

How do I enforce SHA-pinning for third-party GitHub Actions?▼

Enforcing SHA-pinning for third-party GitHub Actions requires applying pipeline guardrails that restrict workflow execution to deterministic, pinned action versions, preventing supply chain attacks from mutable tags.

Why do I need artifact provenance in GitHub Actions workflows?▼

Artifact provenance in GitHub Actions workflows is needed to provide verifiable build metadata, improve incident investigation capabilities, and ensure artifact retention guidance is followed across deployment environments.

Can I use environment-scoped secrets for staging and prod deployments?▼

Yes, you can use environment-scoped secrets for staging and prod deployments by enforcing environment protections and branch policies that isolate credentials and prevent production deployment mistakes.

What safety patterns should I apply for pull requests from forks?▼

For pull requests from forks, apply fork-prioritizing safety patterns that restrict secret access, enforce required checks, and maintain artifact provenance to protect the CI/CD pipeline from untrusted inputs.