Skip to content

Commit

Permalink
test: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Amzani committed Jul 12, 2023
1 parent 96db218 commit 9acd555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-adr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
const title = context.payload.pull_request.title;
const labels = context.payload.pull_request.labels;
const hasAdrLabel = labels.some(label => label.name === 'kind/adr');
const re = /^(chore:\s*)?\[ADR-(\d{4})\]/;
const re = /^(?:chore:\s*)?\[ADR-(\d{4})\]/;
const match = title.match(re)
console.log(`title`, title, `match`, match);
const startsWithAdr = (match !== null);
Expand Down

0 comments on commit 9acd555

Please sign in to comment.