Skip to content

Commit

Permalink
force mergeがどうすればできるかをチェックする (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba authored Jan 1, 2025
1 parent b0fdbd7 commit 066a883
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
check force merge

# Merge Gatekeeper

人やチームによって重みを付けられるApprove数チェッカーです。
Expand Down
3 changes: 2 additions & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import type * as webhooks from "@octokit/webhooks-types";

これでCIが落ちるはず

export type ScoreRule = {
target: "team" | "user";
slug: string;
Expand All @@ -8,7 +10,6 @@ export type ScoreRule = {
};
export type GitHubEvent =
| webhooks.PullRequestAutoMergeEnabledEvent
| webhooks.MergeGroupChecksRequestedEvent;

export const getPullRequest = (event: GitHubEvent, ref: string) => {
const owner = event.repository.owner.login;
Expand Down

0 comments on commit 066a883

Please sign in to comment.