required-status-checks

Enforce required CI status checks on GitHub pull requests before merge.

3|3|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/adaptive-enforcement-lab/claude-skills --skill required-status-checks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: required-status-checks
Source: https://github.com/adaptive-enforcement-lab/claude-skills/tree/main/plugins/enforce/skills/required-status-checks
Command: npx skills add https://github.com/adaptive-enforcement-lab/claude-skills --skill required-status-checks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires actions/checkout, golangci/golangci-lint-action, aquasecurity/trivy-action, anchore/sbom-action, gh, and includes scripts (resource) components.

What problem does it solve?

CI/CD pipelines and branch protections can allow untested or insecure code to merge. This skill ensures that required status checks gate PR merges to improve quality and compliance.

Core Features & Use Cases

  • Enforces branch protection by requiring CI checks (tests, security scans, linting) to pass before merge.
  • Supports configurable contexts, strict mode, and reusable workflows for different teams.
  • Provides examples and reference docs to guide implementation and auditing.

Quick Start

Enable the required-status-checks workflow in your repository and configure branch protection to require the defined CI checks.

Frequently Asked Questions about required-status-checks

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

FAQPage Schema
How do I enforce required status checks for branch protection on GitHub pull requests?

Required status checks gate pull request merges by enforcing CI tests, security scans, and linting to pass. You enable the workflow in your repository and configure branch protection to require these defined CI checks before allowing any merges.

Can I require security scans and linting to pass before merging a pull request?

Yes, you can require security scans and linting to pass before merging a pull request. The workflow integrates linting and security scanning actions into your CI pipeline, ensuring these checks are configured as required contexts in your branch protection rules.

How do I configure branch protection to require CI checks using GitHub Actions?

To configure branch protection to require CI checks, enable the workflow in your repository and update your branch protection rules to require the defined CI contexts. This setup supports configurable contexts and strict mode for different teams.

Does this branch protection enforcement support strict mode and reusable workflows?

Branch protection enforcement supports strict mode and reusable workflows for different teams. It provides configurable contexts to gate merges, along with examples and reference docs to guide implementation and auditing of your CI checks.

Why do untested or insecure code changes bypass my CI/CD pipeline and merge?

Untested or insecure code merges bypass pipelines when branch protections lack required status checks. Enforcing CI gates ensures that tests, security scans, and linting pass before code is merged, improving repository quality and compliance.