Skip to content

Commit cd93f0f

Browse files
committed
feat(workflow): forward overrides input to action for per-dispatch env mutation in e2e
1 parent 997d125 commit cd93f0f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/pullfrog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
description: Agent prompt
1212
name:
1313
type: string
14+
overrides:
15+
type: string
16+
description: 'JSON env var overrides for this run (e2e/debug; e.g. {"ACTIONS_STEP_DEBUG":"true"})'
1417
description: Run name
1518

1619
permissions:
@@ -82,6 +85,7 @@ jobs:
8285
uses: ./.pullfrog-action/action
8386
with:
8487
prompt: ${{ inputs.prompt }}
88+
overrides: ${{ inputs.overrides }}
8589
env:
8690
# force local action execution so the PR branch's source is exercised
8791
# instead of the published npm fallback (see AGENTS.md, wiki/preview-repo.md)
@@ -118,3 +122,4 @@ jobs:
118122
# escape hatches for ad-hoc e2e overrides via repo Actions variables
119123
PULLFROG_MODEL: ${{ vars.PULLFROG_MODEL }}
120124
PULLFROG_AGENT: ${{ vars.PULLFROG_AGENT }}
125+

0 commit comments

Comments
 (0)