#!/usr/bin/env sh
# Let a merge request merge itself once its pipeline passes. This forge has
# no project-level auto-merge switch: availability follows from the
# pipeline requirement protect-trunk asserts, so this step asserts that
# requirement rather than a switch that does not exist, and rk setup check
# names the weaker guarantee instead of claiming one. Idempotent: the write
# is convergent and a rerun re-asserts the same value.
project=""
# The forge CLI may pretty-print JSON; stripping whitespace makes the
# pattern below hold for the compact and the pretty form alike.
| |