ci-validation-gates

Validate semver, token types, retries, and draft-release triggers in GitHub Actions publish workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents release pipelines from failing due to invalid versions, incorrect NPM token types, missing retry logic, and draft-release event gaps.

Core Features & Use Cases

  • Semver protection: Validates release versions before publish so malformed tags do not reach npm.
  • Token and workflow safeguards: Verifies automation-token usage, release-event triggers, and build-time protections to avoid common CI/CD outages.
  • Resilient publish checks: Adds retry-based verification for npm registry propagation and clear failure handling for release automation.
  • Use case: A release engineer can use this Skill to harden a GitHub Actions publish flow and prevent repeat incidents during versioned deployments.

Quick Start

Ask for a release workflow review that adds semver validation, automation-token checks, retry-based package verification, and draft-release protection.

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 invalid semver tags from failing my GitHub Actions npm publish workflow?

Preventing npm publish failures from invalid semver requires adding defensive validation gates before publish steps in GitHub Actions. This verifies release versions, checks automation tokens, and adds propagation retries to keep deployments deterministic.

Why does my npm release automation fail when using draft-release triggers in CI/CD?

Npm release automation fails on draft-release triggers because standard workflows often miss these event gaps. Adding draft-release protection and release-event trigger verification ensures your deployment pipeline handles both draft and published releases safely.

How do I add retry logic for npm registry propagation checks in a GitHub Actions workflow?

Adding retry logic for npm registry propagation involves configuring resilient publish checks that automatically re-verify package availability after release. This prevents false-negative failures when npm registry updates experience delays.

Does my GitHub Actions publish workflow need an automation token instead of a standard GITHUB_TOKEN?

GitHub Actions publish workflows often require an automation token rather than a standard GITHUB_TOKEN to avoid common CI/CD outages. Token type verification ensures your release automation has the correct permissions for npm publishing.

What is SKIP_BUILD_BUMP protection and how does it keep deployment pipelines stable?

SKIP_BUILD_BUMP protection is a CI/CD validation gate that prevents unintended version bumps during build processes. Applying this protection keeps release pipelines stable and deterministic by guarding against accidental build-time version overrides.

Can I use these CI/CD validation gates for deployment pipelines outside of npm publishing?

These CI/CD validation gates apply to any deployment pipelines needing defensive validation before and after publish steps. While designed for npm release automation, the semver checks and retry logic work across GitHub Actions deployment workflows.