Skip to content

Commit

Permalink
ci: Automatically merge deps upgrade PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmiller08 committed Nov 13, 2021
1 parent bd64501 commit 7722672
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/upgrade-master.yml

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

2 changes: 1 addition & 1 deletion .gitignore

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

16 changes: 16 additions & 0 deletions .mergify.yml

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

33 changes: 33 additions & 0 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,39 @@ const project = new AwsCdkConstructLibrary({
'aws-cdk-construct',
'projen',
],
depsUpgrade: true,
depsUpgradeOptions: {
workflowOptions: {
labels: ['auto-approve', 'deps-upgrade'],
},
},
githubOptions: {
mergify: true,
mergifyOptions: {
rules: [
{
name: 'Automatically merge dependency upgrade PRs without approval if they pass build',
actions: {
merge: {
method: 'squash',
commit_message: 'title+body',
strict: 'smart',
strict_method: 'merge',
},
delete_head_branch: {},
},
conditions: [
'label=auto-approve',
'label=deps-upgrade',
'-label~=(do-not-merge)',
'check-success=build',
'author=github-actions[bot]',
'title="chore(deps): upgrade dependencies"',
],
},
],
},
},
releaseToNpm: true,
releaseWorkflow: true,
npmAccess: NpmAccess.PUBLIC,
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# cdk-library-certbot

[![build](https://github.com/RenovoSolutions/cdk-library-certbot/actions/workflows/build.yml/badge.svg)](https://github.com/RenovoSolutions/cdk-library-certbotactions/workflows/build.yml)

A CDK Construct Library to automate the creation and renewal of Let's Encrypt certificates.

## Features
Expand Down

0 comments on commit 7722672

Please sign in to comment.