Files
gitea-actions/git/promotion-gate
deac 4e765e5c64
publish.yaml / publish (push) Successful in 4s
add-promotion-gate-action: Add git/promotion-gate composite action
Enforces which source branches may merge into which target branches, configured via a rules input (one target:allowed,allowed per line, glob-capable). Empty rules (default) skips enforcement entirely, so repos can adopt it without immediately gating on rules they have not configured. Extracted for reuse across repos moving to a gitflow-style branch promotion model, starting with stat-tackler-api.
2026-08-21 14:57:03 -04:00
..

Promotion Gate

Description

Enforce which source branches may merge into which target branches

Inputs

name description required default
rules

One rule per line: "target:allowed1,allowed2,…". Targets not listed are unrestricted. Allowed entries may use a trailing glob, e.g. hotfix-*. Leave empty (default) to skip entirely.

false ""

Runs

This action is a composite action.