Skip to content

fix(ci): defer version-only promotions - #211

Merged
yansigit merged 1 commit into
devfrom
codex/fix-version-only-promotion
Sep 2, 2026
Merged

yansigit merged 1 commit into
devfrom
codex/fix-version-only-promotion

Conversation

@yansigit

@yansigit yansigit commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Prevent the generated next-patch package version from opening a ready dev-to-main promotion PR when it is the only tree change.
  • Preserve promotion for source, documentation, workflow, dependency metadata, and other package changes.
  • Security review: workflow triggers and permissions are unchanged; the decision helper is loaded from the trusted main checkout; dev-controlled input is parsed only as filenames and JSON; promotion token minting is now more restrictive.

Verification

  • bun run typecheck
  • bun test tests/fork/dev-promotion-workflow.test.ts (10 passed)
  • bun run privacy:scan
  • Production-shape check against origin/main and origin/dev returned wait for the package.json-only 2.39.5 to 2.39.6 bump.
  • bun run test completed with four unrelated proxy-liveness failures because the newly merged TLS fallback reached an already-running local OpenCodex service on port 10100 after the mocked HTTP request failed.
  • bun run test:container reached the Apple Container build but its build context omitted the tracked nested bun.lock files from the temporary worktree.
  • Required GitHub checks must pass for the exact head before merge.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed. No user-facing documentation change is required.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

✅ Deterministic PR hygiene checks passed.

@github-actions github-actions Bot added the bug Something isn't working label Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

PR automation (bot-owned)

  • Class: draft (draft)
  • Base: 6f66921ea76598ca19ac4ef48ae3bf989f538a46
  • Head: 7b1c63655701007c5b65c614d2cd3ec01c709aaf
  • Action: observed
  • Exact-head gate: BLOCKED (not-mergeable, check-missing, check-not-success)
  • Sensitive paths: .github/scripts/fork-promotion-decision.cjs, .github/workflows/promote-dev.yml
  • Maintainer auto-merge approval: NO
  • Bot merge evidence: NO
  • Next action: human review required

@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

✅ READY

  • all PR quality gates passed.

@github-actions
github-actions Bot marked this pull request as draft September 2, 2026 02:56
@github-actions
github-actions Bot marked this pull request as ready for review September 2, 2026 02:57
@yansigit
yansigit merged commit bf70134 into dev Sep 2, 2026
46 of 49 checks passed
@yansigit
yansigit deleted the codex/fix-version-only-promotion branch September 2, 2026 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant