ci-validation-gates

Validate semver, token types, and release state in GitHub Actions workflows.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/Golnaz89/golnaz89.github.io --skill ci-validation-gates-golnaz89
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-validation-gates
Source: https://github.com/Golnaz89/golnaz89.github.io/tree/main/.copilot/skills/ci-validation-gates
Command: npx skills add https://github.com/Golnaz89/golnaz89.github.io --skill ci-validation-gates-golnaz89

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CI/CD pipelines can deploy faulty releases due to missing validations and weak checks. This Skill centralizes defensive patterns like semver validation, token type verification, retry propagation, and draft release detection to prevent outages.

Core Features & Use Cases

  • Semver Validation Gate ensures only valid version formats before publishing.
  • NPM Token Type Verification enforces automation tokens and avoids user tokens with 2FA.
  • Retry Logic for npm Registry Propagation handles eventual consistency after publish.
  • Draft Release Detection ensures workflows trigger on published releases, not drafts.
  • Build Script Protection prevents accidental version bumps during release.

Quick Start

Apply these gates to your GitHub workflows to validate semver, enforce tokens, retry registry checks, and block draft releases.

Frequently Asked Questions about ci-validation-gates

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

FAQPage Schema
How do I prevent faulty releases in GitHub Actions CI/CD pipelines?

Preventing faulty releases in GitHub Actions CI/CD pipelines requires enforcing defensive release gates. You can validate semver formats, verify automation token types, and block draft releases to ensure deterministic execution and avoid accidental outages during publishing.

Why does my npm publish workflow fail when using user tokens with 2FA?

Npm publish workflows fail with user tokens because 2FA prompts block automated execution. Enforcing npm token type verification ensures pipelines use automation tokens instead of user tokens, providing reliable, auditable release gating without manual authentication intervention.

How do I handle npm registry propagation delays after publishing a release?

Handling npm registry propagation delays after publishing requires implementing retry logic for npm registry checks. This manages eventual consistency by retrying verification checks, ensuring the published package is fully available before the workflow completes.

Can I block GitHub Actions release workflows from triggering on draft releases?

You can block GitHub Actions release workflows from triggering on drafts by applying draft release detection gates. This defensive pattern ensures workflows only execute on published releases, preventing premature or accidental version bumps and deployments.

What is a semver validation gate and when do I need it for CI/CD?

A semver validation gate is a defensive CI/CD pattern that checks version formats before publishing. You need it to enforce deterministic execution and prevent faulty releases caused by malformed version strings passing through your automation pipeline.