A central repository for reusable DevOps assets: workflows, templates, scripts, configuration snippets, and shared automation resources that can be referenced across multiple projects.
Python libraries and a CLI for syncing one git branch into another, with optional PR creation.
scripts/sync_branches.py— CLI entrypoint (--pr-head sync-branch|source)lib/— reusable modules (config_parser,merge_resolver,pr_creator)docs/sync-branches/README.md— usage, config format, and PR head strategiesdocs/sync-branches/consumer-setup.md— infra-repo config format (git:source map) and CI integration notestests/— unit and local end-to-end tests (CI:.github/workflows/sync-branches-tests.yml, pytest only)
Runs configured branch syncs with a shared trigger ID, then opens a Leader PR that tracks child PRs.
scripts/run_gated_artifacts_promoter.py— CLI orchestratorlib/trigger_id.py,lib/state_file.py,lib/leader_pr.py— reusable librariesdocs/gated-artifacts-promoter/README.md— usagedocs/gated-artifacts-promoter/consumer-setup.md— infra workflow contract
Posts GitHub commit statuses for Gated Artifacts Promoter collaborator PRs (RHOAIENG-93330).
lib/pr_status_updater.py— reusable library (gh apicommit statuses)scripts/post_pr_status.py— manual CLIdocs/pr-status-updater/README.md— usagetests/— unit tests (pytest; see docs)
Reads a leader state.json, evaluates component build checks and the
main-to-release feasibility workflow, posts the matching gated artifacts promoter
commit status, and updates pr-status (RHOAIENG-93565, RHOAIENG-97054; state
layout RHOAIENG-93564).
scripts/gap_pr_monitor.py— CLI (useslib/pr_status_updater.py)docs/gap-pr-monitor/README.md— usage- Workflow wrapper:
gated-artifacts-promoter(.github/workflows/gap-pr-monitor-trigger.yml), callinggap-pr-monitor.yml@mainfor the internal-runner job
Audits or enables the repository-level GitHub setting that permits pull request auto-merge.
lib/repository_automerge.py— idempotent GitHub API operations and verificationscripts/manage_repository_automerge.py— dry-run-first CLI accepting arguments or stdindocs/repository-automerge/README.md— usage, permissions, and behaviortests/— unit tests with mocked GitHub CLI calls
An organization ruleset workflow runs the existing main-to-release sync in dry-run mode for every active release, using the existing release sync exclusions.
.github/workflows/main-release-feasibility.yml— ruleset workflow sourcescripts/prepare_main_release_dry_run_inputs.py— prepares action inputs from the supplied infra configurationred-hat-data-services/sync-git-branches— merge engine, invoked withdry_run: 'true'docs/main-release-feasibility/README.md— ruleset setup and local reproduction