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 371ab68 commit 96db218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-adr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
const hasAdrLabel = labels.some(label => label.name === 'kind/adr');
const re = /^(chore:\s*)?\[ADR-(\d{4})\]/;
const match = title.match(re)
console.log(`title`, title, `match`, match);
const startsWithAdr = (match !== null);
if (hasAdrLabel && !startsWithAdr) {
return {
Expand Down

0 comments on commit 96db218

Please sign in to comment.