Skip to content

Commit

Permalink
allow develop as target branch
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticfalcon authored Jun 17, 2024
1 parent 4e60f81 commit 865a09d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 865a09d

Please sign in to comment.