Skip to content

ci: bring dogfood check workflow split to main#108

Merged
theoephraim merged 1 commit into
mainfrom
ci/check-workflow-dogfood-to-main
Jun 12, 2026
Merged

ci: bring dogfood check workflow split to main#108
theoephraim merged 1 commit into
mainfrom
ci/check-workflow-dogfood-to-main

Conversation

@theoephraim

Copy link
Copy Markdown
Member

pull_request_target executes the workflow file from the default branch, not the PR's base branch. So the check-local/check-published dogfood split that landed on next (72c8ed1) has never actually run — PRs targeting next are still checked by main's old single-job workflow running published bumpy 1.13.2.

Observed on #107 (a next-targeted PR): the run executed the bumpy-check job (main's workflow), and old bumpy — with no channel awareness — diffed against main instead of GITHUB_BASE_REF, so the comment listed the already-shipped .bumpy/next/prerelease-channels.md as a mysterious "(empty — no release)" bump file, with a stable 1.13.3 plan instead of the channel prerelease plan.

This copies next's bumpy-check.yaml to main verbatim (so the eventual promotion merge is clean):

  • check-published — fork PRs: published bumpy, never executes PR code.
  • check-local — internal PRs: builds and runs the PR head's own bumpy, so channel-aware comments work on next-targeted PRs immediately, no published release required.

release.yaml is intentionally not included — push workflows run from the pushed branch, so next's copy already works (the rc.0 publish proved it).

Workflow-only change; no bump file needed.

pull_request_target runs the workflow file from the default branch, so the
check-local/check-published split that landed on next (72c8ed1) never executes
— PRs targeting next still get checked by published bumpy via main's old
workflow, producing stale stable-flow comments. Identical content to next's
copy, so promotion merges clean.
@theoephraim theoephraim merged commit 8b04cc3 into main Jun 12, 2026
4 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