Skip to content

fix(ci): dispatch deployment mirror after pilot sync - #36

Merged
theredspoon merged 1 commit into
pipeline-controlfrom
fix/dispatch-deployment-mirror
Jul 1, 2026
Merged

theredspoon merged 1 commit into
pipeline-controlfrom
fix/dispatch-deployment-mirror

Conversation

@theredspoon

Copy link
Copy Markdown
Owner

Automated Matrix pilot fast-forwards use the GitHub Actions token, so the push to native-matrix-channel-pilot does not trigger the push-based deployment mirror workflow. This restores the end-to-end handoff by adding a manual mirror dispatch trigger and dispatching it immediately after the pilot branch fast-forward.\n\nValidation:\n- bash scripts/test-auto-ff-matrix-pilot-sync-workflow.sh\n- bash scripts/test-sync-upstream-workflow.sh\n- bash scripts/test-pipeline-control-sync-workflow.sh\n- git diff --check

@github-actions github-actions Bot added scope: ci size: M Changed-line size classification risk: medium Risk classification contributor: core Contributor history classification labels Jul 1, 2026
Automated Matrix pilot fast-forwards use the GitHub Actions token, so the push to native-matrix-channel-pilot does not trigger the push-based deployment mirror workflow. Add a manual mirror dispatch trigger and dispatch it immediately after the pilot branch fast-forward.

Validation:

- bash scripts/test-auto-ff-matrix-pilot-sync-workflow.sh

- bash scripts/test-sync-upstream-workflow.sh

- bash scripts/test-pipeline-control-sync-workflow.sh

- git diff --check

[skip-regression-check]
@theredspoon
theredspoon force-pushed the fix/dispatch-deployment-mirror branch from 5d1ddfd to 10dedc4 Compare July 1, 2026 14:52

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d1ddfdee1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

name: Mirror to deployment target

on:
workflow_dispatch:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Guard deployment mirror dispatch to pilot refs

Adding workflow_dispatch makes this workflow runnable on any branch selected for the manual/API dispatch; GitHub documents that manual runs choose a branch/ref and GITHUB_SHA comes from that dispatched ref. Because the job has no github.ref_name == 'native-matrix-channel-pilot' guard before it checks out and mirrors the tree with the deployment App credentials, a manual dispatch on main or a feature branch can create/update the deployment mirror PR from source that did not pass the existing pilot fast-forward gate. Please reject non-pilot refs before generating the mirror token or performing the mirror.

Useful? React with 👍 / 👎.

@theredspoon
theredspoon merged commit e5c1bf4 into pipeline-control Jul 1, 2026
16 checks passed
@theredspoon
theredspoon deleted the fix/dispatch-deployment-mirror branch July 1, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor: core Contributor history classification risk: medium Risk classification scope: ci size: M Changed-line size classification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant