diff --git a/dist/index.js b/dist/index.js index f9bc4da..5623f49 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12921,7 +12921,7 @@ const core = __webpack_require__(470); const Github = __webpack_require__(469); const semver = __webpack_require__(876); const fs = __webpack_require__(747); -const allowedBaseBranch = /^([\w-]+:)?(?:master|main)$/; +const allowedBaseBranch = /^([\w-]+:)?(?:master|main|develop)$/; const branchTypes = [ { pattern: /^(\w*:)?fix\/.*/, bump: "patch", label: "fix" }, { pattern: /^(\w*:)?feature\/.*/, bump: "minor", label: "feature" }, diff --git a/index.ts b/index.ts index e612dde..5ac2af3 100755 --- a/index.ts +++ b/index.ts @@ -5,7 +5,7 @@ const Github = require('@actions/github'); const semver = require('semver') const fs = require('fs'); -const allowedBaseBranch = /^([\w-]+:)?(?:master|main)$/ +const allowedBaseBranch = /^([\w-]+:)?(?:master|main|develop)$/ type BranchType = { pattern: RegExp, bump: 'patch' | 'minor' | 'major' | 'chore',