Skip to content
Back to skills

Ci Pipelines

ASecurity

Use when changing continuous integration, GitHub Actions workflows, runners, caches, or deployment pipelines.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentsrustshellgit

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add davidvornholt/standards --skill ci-pipelines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ci Pipelines?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ci Pipelines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/davidvornholt-ci-pipelines/badge)](https://www.skillsdirectory.com/skills/davidvornholt-ci-pipelines)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ci-pipelines
description: Use when changing continuous integration, GitHub Actions workflows, runners, caches, or deployment pipelines.
---

# CI pipelines

CI fails closed. A step that can't establish what it relies on, such as a diff, a signature, or a gate result, takes the full path or fails the run.

Reference external actions by their major-version tag, such as `actions/checkout@v7`, not by commit SHA. The owner accepts the risk that a tag is retargeted, so don't propose SHA pins.

Each job bills at least one minute, so fold sub-minute checks into an existing job that runs at the same trust level.

## GitHub behavior

A workflow-level `paths` filter can't prove that a gate has nothing to check, because GitHub evaluates it against a bounded list of changed files. Classify the checked-out diff in a job instead.

GitHub counts a skipped job as a passing required check. On runs that skip a gate, the job that reports its required check needs another name.

## Caches

Save caches only from successful default-branch runs. Other runs only restore them.

Leave package and browser stores at their tools' default paths. Turbo's strict environment hides the variables that relocate a store from the tools a task spawns.

Never cache image layers with `type=gha`, because their churn in the shared Actions cache quota costs more than the cache saves. Cache them in the image's registry instead, as `type=registry,ref=ghcr.io/<owner>/<image>:buildcache`. Every build reads it, and only default-branch push builds write it, with `mode=max,image-manifest=true,oci-mediatypes=true`. Registry retention must keep the `:buildcache` tag.

## Deployment

Release to production only a commit whose exact tree passed the full quality gate. A pull request preview is the exception: it deploys once its image passes the migration and health smoke test, without waiting for the gate, under the protections in [Pull request previews](../declarative-infra/references/pr-previews.md#workflows). Serialize deployments with FIFO queueing (`concurrency.queue: max`), because otherwise a late run for an older commit can evict the pending run for the newest one.

The gate loads an app's production build in a browser and fails on an uncaught page error, because a server-only module in the browser bundle can leave every page unresponsive while every test passes.

Before a release, the job that builds the app's image starts the container, waits for its health check, sends SIGTERM, and fails unless the app exits as the [app-release contract](../declarative-infra/references/app-release.md) requires, because a shell or runtime running as PID 1 can ignore the signal.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.