Skip to content

Commit

Permalink
Update PR number length
Browse files Browse the repository at this point in the history
  • Loading branch information
kubakrzempek authored Aug 24, 2024
1 parent f528d8d commit 13313ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_notion/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ try {

function extractPrNumber (commitMessage) {
const match = commitMessage
.match(/#[0-9]{1,4}/)
.match(/#[0-9]{1,5}/)

if (match && match.length) {
return match[0].substring(1)
Expand Down

0 comments on commit 13313ce

Please sign in to comment.