ci: port merge-to-stage / merge-to-main automation from da-express-milo - #126
Open
hadobe wants to merge 1 commit into
Open
ci: port merge-to-stage / merge-to-main automation from da-express-milo#126hadobe wants to merge 1 commit into
hadobe wants to merge 1 commit into
Conversation
Ports the Milo-pattern stage/main release automation (already used in
da-express-milo) into edu:
- .github/workflows/merge-to-stage.{yaml,js}
- .github/workflows/merge-to-main.{yaml,js}
- .github/workflows/helpers.js
- adds @octokit/rest dependency (required by helpers.js)
De-Express'd the hardcoded test URLs to edu hosts. Secret names and the
RCP calendar are carried over unchanged; see PR description for the
admin-side items (GitHub App install, environment + secrets) still
needed before enabling.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
nateyolles
approved these changes
Aug 31, 2026
hadobe
marked this pull request as ready for review
September 4, 2026 23:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the Milo-pattern stage → main release automation into
edu, mirroring what already runs inda-express-milo. Added files:.github/workflows/merge-to-stage.{yaml,js}— batches labeled PRs intostage, opens the[Release] Stage to MainPR.github/workflows/merge-to-main.{yaml,js}— promotes that release PR tomain.github/workflows/helpers.js— shared Octokit/RCP/working-hours helperspackage.json/package-lock.json— adds@octokit/rest@^20.0.2(required byhelpers.js)Both workflows run on a 2-hour cron +
workflow_dispatch+repository_dispatch.Why this is low-risk to land now
edualready matches the conventions the scripts assume — verified before porting:stage(default) andmainbranches existReady for Stage,QA Approved,Design Review Complete,Design Review Not Required,Ready for Review,zero-impactThe scripts fail closed — if config/secrets/labels are missing they log and merge nothing.
This PR is intentionally a draft because the workflows are inert until an
edurepo/org admin wires up:eduprovidingEXPRESS_MERGE_APP_ID+EXPRESS_MERGE_PRIVATE_KEYwith PR-merge permission.express_pr_mergeenvironment + secrets:REQUIRED_APPROVALS,MAX_PRS_PER_BATCH,STAGE_RCP_OFFSET_DAYS,MAIN_RCP_OFFSET_DAYS.stage/mainallowing the App to merge.Decisions carried over from source (flag if you disagree)
EXPRESS_MERGE_*to minimize divergence fromda-express-miloand ease future syncs. Rename here ifeduprovisions a distinct app.helpers.jsRCP calendar is copied verbatim, soeducurrently inherits Express's release-freeze windows and the "blocks all merges after the last listed date" behavior. Decide whetheredushould own its own calendar + a maintainer.ignoreChecksstill listsaem-psi-check/merge-to-*; review againstedu's actual required check names.*--edu--adobecom.aem.page/edu/.Open question for the
eduteameduhas akodiak-stagebranch — please confirm Kodiak (or any other auto-merge) is not currently merging tostage/main, so we don't end up with two systems merging at once.🤖 Generated with Claude Code