Give the check a decision it can make#
Start with one property, such as whether a migration can run against the database engine version used by the target. Have the check identify the migration, target, engine version, and source time. Return an explicit incomplete result when it cannot obtain a required input. Configure the status reported to GitHub so that missing input cannot silently satisfy the requirement.
Try a compatible migration, an incompatible one, and a change with the version record unavailable. Inspect the actual merge decision in each case. If deployment happens later or goes to several targets, recheck the release-specific requirements at delivery. GitHub ruleset requirements · Configure deployment protection