This repository owns organization-wide GitHub workflow policy.
auto-merge.yml requests squash auto-merge for ready, same-repository pull requests. Repository
rulesets and required checks remain authoritative: GitHub merges only after every required check
passes. It uses an organization-owned GitHub App so the resulting merge can trigger downstream
delivery workflows. This includes Release Please pull requests; product release workflows must use
the same App identity when creating or updating those branches so GitHub emits the pull request
events that invoke the organization workflow.
The organization ruleset applies this workflow to Chio Labs public repositories.
The workflow also runs on merge queue groups, because the ruleset requires it there. A no-op job lets that run succeed, leaving the queue's own required checks to decide.
Draft and fork-based pull requests are intentionally excluded. A ruleset workflow runs only on
opened, synchronize and reopened, whatever types it lists, so marking a draft ready requests
nothing: whoever marks it ready requests auto-merge with
gh pr merge <number> --auto --squash --match-head-commit <head sha>. Product workflows remain
responsible for release-specific validation, while this organization workflow requests auto-merge
for every other pull request.