1
0
mirror of https://github.com/joaquinjsb/gitea-release-please-action synced 2026-05-13 03:11:36 +02:00

feat(release-please): add default branch input option (#202)

This commit is contained in:
Ivan Santos
2021-01-30 20:29:14 -06:00
committed by GitHub
parent a9e0f67aca
commit 4845e49098
4 changed files with 55 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ async function main () {
const changelogTypes = core.getInput('changelog-types')
const command = core.getInput('command') ? core.getInput('command') : undefined
const versionFile = core.getInput('version-file') ? core.getInput('version-file') : undefined
const defaultBranch = core.getInput('default-branch') ? core.getInput('default-branch') : undefined
// Parse the changelogTypes if there are any
let changelogSections
@@ -60,7 +61,8 @@ async function main () {
label: RELEASE_LABEL,
bumpMinorPreMajor,
changelogSections,
versionFile
versionFile,
defaultBranch
})
const pr = await release.run()
if (pr) {