Skip to content

Commit

Permalink
chore: upgrade dependencies once a month
Browse files Browse the repository at this point in the history
  • Loading branch information
WtfJoke committed Jun 29, 2022
1 parent 74d8371 commit 15f072b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-main.yml

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

7 changes: 7 additions & 0 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const { awscdk } = require('projen');
const { UpgradeDependenciesSchedule } = require('projen/lib/javascript');

const project = new awscdk.AwsCdkConstructLibrary({
author: 'WtfJoke',
authorName: 'Manuel',
Expand All @@ -22,6 +24,11 @@ const project = new awscdk.AwsCdkConstructLibrary({
'cdk:actionsecret:deploy': 'npx cdk deploy --app "npx ts-node --prefer-ts-exts src/examples/action-secret/action-secret-app.ts"',
'cdk:actionenvironmentsecret:deploy': 'npx cdk deploy --app "npx ts-node --prefer-ts-exts src/examples/action-environment-secret/action-environment-secret-app.ts"',
},
depsUpgradeOptions: {
workflowOptions: {
schedule: UpgradeDependenciesSchedule.MONTHLY,
},
},
autoApproveUpgrades: true,
autoApproveOptions: {
allowedUsernames: ['BAutoBot'],
Expand Down

0 comments on commit 15f072b

Please sign in to comment.