Skip to content

Commit 99e70a5

Browse files
committed
Add docs type to pr lint
Signed-off-by: Clay Rosenthal <clayros@amazon.com>
1 parent d68001a commit 99e70a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/projects/github.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,10 @@ export function buildGitHubDefaultOptions(options: Cdk8sTeamNodeProjectOptions):
1818
return {
1919
mergify: options.githubOptions?.mergify ?? false,
2020
mergeQueue: options.githubOptions?.mergeQueue ?? true,
21+
pullRequestLintOptions: options.githubOptions?.pullRequestLintOptions?.semanticTitleOptions ?? {
22+
semanticTitleOptions: {
23+
types: ['feat', 'fix', 'chore', 'docs'],
24+
},
25+
},
2126
};
2227
}

0 commit comments

Comments
 (0)