Skip to content

ci: pick the agentage/e2e ref from the pull request branch - #76

Draft
vreshch wants to merge 1 commit into
masterfrom
feature/e2e-ref
Draft

vreshch wants to merge 1 commit into
masterfrom
feature/e2e-ref

Conversation

@vreshch

@vreshch vreshch commented Nov 24, 2026

Copy link
Copy Markdown
Member

Problem

CI checks out agentage/e2e with no ref, so always at master. A change in an e2e branch cannot be tested against this repo before it merges.

Change

New step "Pick the agentage/e2e branch" (the same rule as agentage/kit). The branch of the same name as the pull request head when it exists in agentage/e2e; else a non-default base branch that exists there; else the repo variable E2E_REF; else master. A push to master has no head ref, so it takes the variable or master. One log line says which ref was taken and why. The lookup does not fail the job when no branch exists, and uses the token the checkout already uses. One README sentence documents it.

Only .github/ and one README line change: no extension folder is touched, so a merge releases nothing.

How verified

YAML parsed locally; step order checked (pick before checkout); the run block executed with a stub gh for three cases (same-name branch, variable, default). CI cannot start in the org now, so it did not run.

Reviewer must check

The step sits before "Checkout agentage/e2e" and is identical to the kit's rule.

https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212

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