Skip to content

Commit

Permalink
Fix dependabot branch name rules
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesperrin committed Sep 27, 2022
1 parent 7d84f16 commit 0e2a936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/branch.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ exports.isBranchNameValid = (branchName) =>
/^(core|feature|fix|hotfix|asset|rework|documentation|mobsuccessbot|dependabot)\/([a-z][a-z0-9.-]*)$/
) ||
!!branchName.match(/^(mobsuccessbot)\/([a-z0-9_\-@./_-]*)$/) ||
!!branchName.match(/^(dependabot)\/([a-z][a-z0-9./_-]*)$/) ||
!!branchName.match(/^(dependabot)\/([a-z][a-zA-Z0-9./_-]*)$/) ||
!!branchName.match(/^revert-[0-9]+-/) ||
!!branchName.match(/^(rework)\/([A-Z][a-zA-Z0-9.-]*)$/)) &&
!branchName.match(/---/) &&
Expand Down

0 comments on commit 0e2a936

Please sign in to comment.