Skip to content

Commit a65f0a7

Browse files
author
bweigel
committed
chore: pr-linting also works with dependabot prs
1 parent 7234c30 commit a65f0a7

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/pull-request-lint.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const project = new awscdk.AwsCdkTypeScriptApp({
2121
// Don't forget to set GitHub App credentials in Repo.
2222
projenCredentials: github.GithubCredentials.fromApp(),
2323
schedule: UpgradeDependenciesSchedule.WEEKLY,
24+
labels: ['dependencies'],
2425
},
2526
},
2627
scripts: {
@@ -30,6 +31,9 @@ const project = new awscdk.AwsCdkTypeScriptApp({
3031
githubOptions: {
3132
mergify: true,
3233
projenCredentials: github.GithubCredentials.fromApp(),
34+
pullRequestLintOptions: {
35+
semanticTitleOptions: { types: ['feat', 'fix', 'chore', 'build'] },
36+
},
3337
},
3438
workflowBootstrapSteps: [
3539
{
@@ -44,6 +48,7 @@ const project = new awscdk.AwsCdkTypeScriptApp({
4448
],
4549

4650
buildWorkflow: true,
51+
package: false,
4752
postBuildSteps: [
4853
{ name: 'test-integration-sam-local', run: 'npx projen test:integration' },
4954
{ name: 'bundle', run: 'npx projen bundle:binary' },

0 commit comments

Comments
 (0)