googleapis / googleapis/release-please-action

Add pull-request-header and pull-request-footer to action's input

Open
#1,001 0 comments 0 reactions 0 assignees 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

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**

Since v4, `pull-request-header` and `pull-request-footer` are only set in config JSON file. In JSON, it is not convenient to set multi-lines string. Until v3, I could read the content from file and pass it to the action's input like below;

```
- name: Get header
id: release-please-header
run: echo "content=$(cat release-please-header.md)" >> $GITHUB_OUTPUT
- use: googleapis/release-please@v3
with:
pull-request-header: ${{ steps.release-please-header.outputs.content }}
```

And, currently `config-file` is respected only when manifest json is loaded. Without manifest file, **there is no way** to configure pull-request-header and footer.

**Describe the solution you'd like**

Add `pull-request-header` and `pull-request-footer` inputs to release-please-actions.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how release-please-action reads action inputs and how config-file is handled when no manifest is loaded. Check the existing input definitions and related configuration flow. Done means pull-request-header and pull-request-footer can be supplied as action inputs, including multiline content, without requiring a manifest file.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.