safe-push

Automate Safe Push workflow for protected IntelliJ branches with dry-run validation.

20.4k|6.0k|Updated Sep 30, 2011
One-click install
npx skills add https://github.com/JetBrains/intellij-community --skill safe-push-jetbrains
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safe-push
Source: https://github.com/JetBrains/intellij-community/tree/main/.agents/skills/safe-push
Command: npx skills add https://github.com/JetBrains/intellij-community --skill safe-push-jetbrains

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safe Push streamlines the process of pushing code changes to protected branches by enforcing CI checks, tests, and approvals before merge.

Core Features & Use Cases

  • Enforces automated validation, dry-run capability, and optional autosquash for commits before pushing.
  • Supports emergency push scenarios to revert or fix critical issues when tests or builds fail.
  • Integrates with Patronus CI and provides monitoring links to track progress.

Quick Start

Initiate a Safe Push in dry-run mode to validate CI checks before merging changes to a protected branch.

Frequently Asked Questions about safe-push

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

FAQPage Schema
How do I safely push commits to a protected branch without bypassing CI checks?

To safely push commits to a protected branch, use the safe-push workflow to enforce automated validation, dry-run capability, and CI tests before merging changes. It verifies tests and CI results before allowing the merge.

What is the best way to validate a feature push to master before triggering a merge?

The best way to validate a feature push to master is initiating a Safe Push in dry-run mode to validate CI checks before merging changes to a protected branch. This verifies tests and CI results beforehand.

Can I execute an emergency push to a protected branch when builds fail?

Yes, you can execute an emergency push to a protected branch when builds fail. The safe-push workflow supports emergency push scenarios to revert or fix critical issues even when tests or builds fail.

Do I need a specific CLI script to automate the safe push workflow for my repository?

Yes, you need the safePush.cmd CLI script and configuration to automate the safe push workflow. It requires this script to verify tests and CI results before merging changes to the protected branch.

How do I consolidate feature commits before pushing to a protected branch?

To consolidate feature commits before pushing to a protected branch, the safe-push workflow provides optional autosquash options for commits before pushing. This ensures a clean commit history during automated validation.

How does safe-push track CI progress during the merge validation process?

Safe-push tracks CI progress during the merge validation process by integrating with Patronus CI and providing monitoring links. This allows you to track progress while it verifies tests and CI results before merging.