Skip to content

Commit d9151ec

Browse files
committed
chore: Add auto-approve
To enable mergify, add auto-approve configuration
1 parent 8cc09e4 commit d9151ec

File tree

6 files changed

+31
-0
lines changed

6 files changed

+31
-0
lines changed

.gitattributes

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/auto-approve.yml

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

.github/workflows/upgrade-master.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.

.gitignore

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

.projen/files.json

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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ const project = new AwsCdkConstructLibrary({
3131
npmAccess: javascript.NpmAccess.PUBLIC,
3232
gitignore: ["cdk.out/"],
3333
prettier: true,
34+
autoApproveOptions: {
35+
allowedUsernames: ["gn-devops-ci"],
36+
// must be different Token from PROJEN_GITHUB_TOKEN to approve PR
37+
secret: "GITHUB_TOKEN",
38+
},
39+
autoApproveUpgrades: true,
3440
});
3541

3642
// JSII sets this to `false` so we need to be compatible

0 commit comments

Comments
 (0)