Skip to content

Commit

Permalink
chore: Add auto-approve (#3)
Browse files Browse the repository at this point in the history
To enable mergify, enable auto-approve
  • Loading branch information
vincentgna authored Sep 6, 2023
1 parent c02b0e0 commit aa679ae
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes

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

21 changes: 21 additions & 0 deletions .github/workflows/auto-approve.yml

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

1 change: 1 addition & 0 deletions .github/workflows/upgrade.yml

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

1 change: 1 addition & 0 deletions .gitignore

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

1 change: 1 addition & 0 deletions .projen/files.json

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

6 changes: 6 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ const project = new cdk.JsiiProject({
devDeps: ["@datadog/datadog-api-client", "ts-morph"],
prettier: true,
release: false,
autoApproveOptions: {
allowedUsernames: ["gn-devops-ci"],
// must be different Token from PROJEN_GITHUB_TOKEN to approve PR
secret: "GITHUB_TOKEN",
},
autoApproveUpgrades: true,
});

// Configuration to export the Dashboard API Object to an Interface
Expand Down

0 comments on commit aa679ae

Please sign in to comment.