diff --git a/action.yml b/action.yml index e014a32..94a285e 100644 --- a/action.yml +++ b/action.yml @@ -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 diff --git a/index.js b/index.js index f9761be..56e1e0c 100644 --- a/index.js +++ b/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,