fix(ci): dispatch mirror from control plane - #37
Conversation
Run the manually dispatched deployment mirror workflow from pipeline-control and pass the Matrix pilot source ref as an explicit input. This keeps dispatch behavior in the control plane while still mirroring native-matrix-channel-pilot content. 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]
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6785cf9236
ℹ️ 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".
| SOURCE_SHA: ${{ github.sha }} | ||
| run: | | ||
| set -euo pipefail | ||
| SOURCE_SHA="$(git rev-parse HEAD)" |
There was a problem hiding this comment.
Capture the source SHA before mutating checkout
When the checked-out source branch has the normal Dependabot config (as this repo currently does), the preceding step creates a local ci: disable Dependabot on deployment mirror commit before this new git rev-parse HEAD runs. That means the PR title/body report an unpushed synthetic commit instead of the reviewed source_ref SHA, and the same value is used for the deployment commit message at line 77, breaking traceability back to theredspoon/ironclaw. Capture the checkout SHA before rewriting .github/dependabot.yml or otherwise preserve the original source commit.
Useful? React with 👍 / 👎.
Summary
Validation