Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: init #1

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added bun.lockb
Binary file not shown.
11 changes: 11 additions & 0 deletions src/handlers/traverse-tree.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Context } from "../types";

export async function traverseTree(context: Context) {
const { payload } = context;

if (payload.issue.pull_request) {
//const { repository: { owner, name }, issue: { number: issueNumber } } = payload;
// const endpoint = octokit.pulls.listReviews;
// const reviews = await octokit.paginate(endpoint, { owner: owner.login, repo: name, pull_number: issueNumber });
}
}
Empty file added src/helpers/transformer.ts
Empty file.
5 changes: 5 additions & 0 deletions src/types/states.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Type as T } from "@sinclair/typebox";

export const diffSchema = T.Object({
additions: T.Integer(),
});
Loading