googleapis / googleapis/release-please-action

Feature Request: support fetching release-please-config.json from the file system

Open
#1,017 8 comments 18 reactions 1 assignee Claimed by @chingor13 View on GitHub
priority: p3 type: feature request
Dominant language
TypeScript
Stars
2.5k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
We are using shared workflow as an wrapper for the workflow for easy maintenance and upgrade. Back in v3 of the workflow, we can provide `inputs` with `default` values to the shared workflow, then the `inputs` can be modified per repository when necessary. Basically, we have a shared config with default settings and the option to modify during runtime:
```
- uses: googleapis/release-please-action@v3
id: release
with:
default-branch: ${{ inputs.master_branch }}
release-type: ${{ inputs.release_type }}
package-name: ${{ github.event.repository.name }}
include-v-in-tag: ${{ inputs.include_v_in_tag }}
pull-request-title-pattern: ${{ inputs.pull_request_title_template }}
path: ${{ inputs.path }}
monorepo-tags: ${{ inputs.monorepo-tags }}
```

In v4, since all advanced configurations now require a config file, we are trying to dynamically generate the config file during runtime, with the above configurations roughly converted to:
```
- name: Prepare release-please-config.json
id: prepare-config
run: |
cat > release-please-config.json <

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.