github / github/gh-aw

Workflow body parameters?

Open
#30,047 0 comments 0 reactions 0 assignees View on GitHub
ai-inspected community
Dominant language
Go
Stars
5.1k
Forks
541
Avg merge
5h 46m
Merged PRs (30d)
760

Description

I want my workflow to be easily configurable. e.g. someone can take it, then change a branch name or repo name in one place, and it applies everywhere.

At the moment I'm doing that with env vars:
> Build a report for ${PRODUCT}

Then there is also a note in the workflow body, e.g.
> `${PRODUCT}` matches to `Contoso`.

Is there a better way to do this? Ideally the placeholder in the agent body would be replaced before it is send to the LLM, e.g. `Build a report for Contoso` and not `Build a report for ${PRODUCT}`.

It's not clear to be whether env vars do that today or not. I want them replaced before the agent is called so replacement is deterministic.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.