1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-12 14:31:39 +02:00

feat: add changelog-host input to action.yml (#948)

This was originally part of
[3.3.0](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md#330-2022-08-10)
(and fixed in
[3.4.1](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md#341-2022-08-24)
to default to `github.server_url`). However, it was not part of 4.0.0.

Without this input, you have to provide both config and manifest files
in order to set the `changelog-host` option.

With this input, you can simply provide `release-type` and
`changelog-host` without the need for config and manifest files. Also,
since it defaults to `github.server_url`, most users will not even have
to set it.

Signed-off-by: Paavo Bennett <paavobennettis@gmail.com>
Co-authored-by: Jeff Ching <chingor@google.com>
This commit is contained in:
Paavo Bennett
2024-03-11 14:27:21 -05:00
committed by GitHub
parent 078b9b8dda
commit 863b06fd1c
2 changed files with 9 additions and 1 deletions

View File

@@ -58,6 +58,10 @@ inputs:
description: 'if set to true, then do not try to open pull requests'
required: false
default: false
changelog-host:
description: 'The proto://host where commits live. Default `https://github.com`'
required: false
default: ${{ github.server_url }}
runs:
using: 'node20'
main: 'dist/index.js'