googleapis / googleapis/release-please

Support environment variable replacements in manifest config

Open
#2,275 0 comments 2 reactions 1 assignee Claimed by @chingor13 View on GitHub
priority: p3 type: feature request
Dominant language
TypeScript
Stars
7.5k
Forks
588
Avg merge
12h 16m
Merged PRs (30d)
7

Description

We are currently using the release-please-action v3 where we can set dynamic release-please configuration options using environment variables in the action's configuration.
However, we cannot switch to release please v4 since there is no way for us to achieve the same dynamic configuration through a static `release-please-config.json` file.

It would be great if we could use any kind of templating mechanism in the json file itself so that we could introduce the dynamic behaviour we want to, e.g.

```json
{
"release-as": "${{ env.SOME_VALUE || 'default' }}"
}
```

This could unlock for us a lot of new usage patterns of release please in our repositories :)

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.