Skip to content

ci: route changes through staging - #216

Merged
CanReader merged 1 commit into
stagingfrom
ci/route-through-staging
Oct 25, 2026
Merged

CanReader merged 1 commit into
stagingfrom
ci/route-through-staging

Conversation

@CanReader

Copy link
Copy Markdown
Owner

What this changes

Adds staging as the testing branch in front of main, the same flow SleakCraft uses. Pull requests go into staging, main only takes pull requests from staging, and both need CI plus a maintainer's approval.

Why

Every game builds against engine main, so an engine change was live for all of them the moment it merged. SleakCraft already tests in staging, but its CI could only build against engine main, so a change that spans both repos could not be tested before release.

What is in it

  • branch-policy.yml: the Only staging merges into main check, copied from SleakCraft.
  • ci.yml: runs on staging too. The downstream game build checks out the SleakCraft branch matching the pull request's base, so engine staging is tested with game staging.
  • dependabot.yml: updates target staging.
  • .github/rulesets/: main.json and staging.json (pull requests only, CI, no force push or deletion, merge commits only on main) and approval.json (one approval; admins may bypass it through a pull request, since authors cannot approve their own).
  • CONTRIBUTING.md and the pull request template describe the flow.

How it was verified

YAML and JSON parse. The workflow changes run for the first time on this pull request.

@CanReader
CanReader merged commit f6188e2 into staging Oct 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant