release-kit 0.2.10

A canonical release workflow: a technology-agnostic method, per-technology bindings, and the rk CLI that lands and serves them.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env sh
# Let a pull request merge itself once every required check passes. The
# trunk style's release decision is a standing instruction the forge
# executes, and a repository that forbids it fails silently: the request
# simply never offers the option. The setting is repository-wide and one
# write, so a rerun is a no-op.
set -eu
: "${RK_REPO:?rk sets this; run this script through rk setup}"

gh api -X PATCH "repos/$RK_REPO" -F allow_auto_merge=true >/dev/null
echo 'check: prints true'
gh api "repos/$RK_REPO" -q .allow_auto_merge