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:
4
index.js
4
index.js
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user