Skip to content

feat(EUDPA-191): make E2E workflow callable from service repos#3

Merged
SamFarrington merged 1 commit into
mainfrom
feat/EUDPA-191-reusable-e2e-workflow
May 19, 2026
Merged

feat(EUDPA-191): make E2E workflow callable from service repos#3
SamFarrington merged 1 commit into
mainfrom
feat/EUDPA-191-reusable-e2e-workflow

Conversation

@SamFarrington
Copy link
Copy Markdown
Contributor

Summary

  • Add workflow_call trigger with branch input to the E2E workflow so service repos can invoke it as a reusable workflow
  • Pin actions/checkout to DEFRA/trade-imports-animals-workspace since reusable workflows run in the caller's repo context
  • Update branch resolution and stack start to prefer inputs.branch over github.head_ref
  • Fix draft PR guard to also pass for workflow_call events

Depends on

Merge this before the admin repo PR (DEFRA/trade-imports-animals-admin) — the admin workflow references @main.

Test plan

  • Existing pull_request trigger still works on workspace PRs
  • workflow_dispatch still works
  • After merge, admin repo can call e2e-tests.yml@main with a branch input

🤖 Generated with Claude Code

Add workflow_call trigger with branch input so service repos can
invoke the workspace E2E pipeline as a reusable workflow. Pin
checkout to the workspace repo (callers run in their own repo
context), and prefer inputs.branch for tag resolution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@SamFarrington SamFarrington merged commit f6cf831 into main May 19, 2026
6 of 8 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