From 865a09da34348acfaa09b386e0ac46bb193d5cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Falc=C3=B3n?= Date: Mon, 17 Jun 2024 13:52:52 -0300 Subject: [PATCH] allow develop as target branch --- dist/index.js | 2 +- index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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',