mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-09 18:11:15 +02:00
feat: add a changelog-host parameter to action.yml (#550)
* Add a changelog-host parameter to action.yml. Fixes https://github.com/google-github-actions/release-please-action/issues/525 * fix default changelog-host Co-authored-by: Jeff Ching <chingor@google.com> Signed-off-by: Jeffrey Rennie <rennie@google.com> Signed-off-by: Jeffrey Rennie <rennie@google.com> Co-authored-by: Jeff Ching <chingor@google.com>
This commit is contained in:
@@ -36,6 +36,10 @@ inputs:
|
||||
description: 'specify a CHANGELOG path other than the root CHANGELOG.md'
|
||||
required: false
|
||||
default: ''
|
||||
changelog-host:
|
||||
description: 'The proto://host where commits live.'
|
||||
required: false
|
||||
default: 'https://github.com'
|
||||
command:
|
||||
description: 'release-please command to run, either "github-release", or "release-pr" (defaults to running both)'
|
||||
required: false
|
||||
|
||||
2
index.js
2
index.js
@@ -113,6 +113,7 @@ async function manifestInstance (github) {
|
||||
const path = core.getInput('path') || undefined
|
||||
const releaseType = core.getInput('release-type', { required: true })
|
||||
const changelogPath = core.getInput('changelog-path') || undefined
|
||||
const changelogHost = core.getInput('changelog-host') || undefined
|
||||
const changelogTypes = core.getInput('changelog-types') || undefined
|
||||
const changelogSections = changelogTypes && JSON.parse(changelogTypes)
|
||||
const versionFile = core.getInput('version-file') || undefined
|
||||
@@ -129,6 +130,7 @@ async function manifestInstance (github) {
|
||||
packageName,
|
||||
releaseType,
|
||||
changelogPath,
|
||||
changelogHost,
|
||||
changelogSections,
|
||||
versionFile,
|
||||
extraFiles,
|
||||
|
||||
Reference in New Issue
Block a user