We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5999fae commit ada3ca6Copy full SHA for ada3ca6
src/awscdk-app-ts.ts
@@ -68,7 +68,7 @@ export class AwsCdkTypeScriptApp extends awscdk.AwsCdkTypeScriptApp {
68
const conditions: Array<string> = [];
69
conditions.push("github.event.pull_request.user.login == 'dependabot[bot]'");
70
conditions.push("contains(github.event.pull_request.labels.*.name, 'auto-approve'");
71
- conditions.push("#approved-reviews-by>=1");
+ conditions.push("github.event.review.state == 'approved'");
72
73
const mergeJob: Job = {
74
runsOn: ["ubuntu-latest"],
@@ -89,6 +89,7 @@ export class AwsCdkTypeScriptApp extends awscdk.AwsCdkTypeScriptApp {
89
MERGE_FORKS: "false",
90
MERGE_RETRY_SLEEP: "60000",
91
MERGE_DELETE_BRANCH: "true",
92
+ MERGE_REQUIRED_APPROVALS: "1",
93
},
94
95
],
0 commit comments