From 09dc2cb4441470cb46ab18014e89d38d92b5e5be Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Wed, 1 Jan 2025 20:18:43 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"force=20merge=E3=81=8C=E3=81=A9?= =?UTF-8?q?=E3=81=86=E3=81=99=E3=82=8C=E3=81=B0=E3=81=A7=E3=81=8D=E3=82=8B?= =?UTF-8?q?=E3=81=8B=E3=82=92=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF=E3=81=99?= =?UTF-8?q?=E3=82=8B=20(#5)"=20(#7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 -- src/core.ts | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index fab1402..1114cdf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -check force merge - # Merge Gatekeeper 人やチームによって重みを付けられるApprove数チェッカーです。 diff --git a/src/core.ts b/src/core.ts index c493163..51421d9 100644 --- a/src/core.ts +++ b/src/core.ts @@ -1,7 +1,5 @@ import type * as webhooks from "@octokit/webhooks-types"; -これでCIが落ちるはず - export type ScoreRule = { target: "team" | "user"; slug: string; @@ -10,6 +8,7 @@ export type ScoreRule = { }; export type GitHubEvent = | webhooks.PullRequestAutoMergeEnabledEvent + | webhooks.MergeGroupChecksRequestedEvent; export const getPullRequest = (event: GitHubEvent, ref: string) => { const owner = event.repository.owner.login;