Skip to content

Commit

Permalink
chore: add PR lint options
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Apr 25, 2024
1 parent 02158a6 commit e00670b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pull-request-lint.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const project = new awscdk.AwsCdkConstructLibrary({
depsUpgradeOptions: { workflowOptions: { schedule: javascript.UpgradeDependenciesSchedule.WEEKLY } },
githubOptions: {
projenCredentials: github.GithubCredentials.fromApp(),
pullRequestLintOptions: {
semanticTitleOptions: {
types: ['feat', 'fix', 'build', 'chore', 'ci', 'docs', 'style', 'refactor', 'perf', 'test', 'revert', 'Revert'],
},
},
},
releaseTrigger: release.ReleaseTrigger.manual(),
gitpod: true,
Expand Down

0 comments on commit e00670b

Please sign in to comment.