Skip to content

Commit 5999fae

Browse files
committed
fix: do not merge label
1 parent 04805fd commit 5999fae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/awscdk-app-ts.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export class AwsCdkTypeScriptApp extends awscdk.AwsCdkTypeScriptApp {
6868
const conditions: Array<string> = [];
6969
conditions.push("github.event.pull_request.user.login == 'dependabot[bot]'");
7070
conditions.push("contains(github.event.pull_request.labels.*.name, 'auto-approve'");
71-
conditions.push("-label~=(do-not-merge)");
7271
conditions.push("#approved-reviews-by>=1");
7372

7473
const mergeJob: Job = {
@@ -86,7 +85,7 @@ export class AwsCdkTypeScriptApp extends awscdk.AwsCdkTypeScriptApp {
8685
uses: "pascalgn/automerge-action@v0.14.3",
8786
env: {
8887
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}",
89-
MERGE_LABELS: "",
88+
MERGE_LABELS: "!do-not-merge",
9089
MERGE_FORKS: "false",
9190
MERGE_RETRY_SLEEP: "60000",
9291
MERGE_DELETE_BRANCH: "true",

0 commit comments

Comments
 (0)