INNER CODE UNIT · JavaScript

runPRReview

kxxt/chatgpt-action · run.js:9

async function runPRReview({ api, repo, owner, number, split }) {
  const {
    data: { title, body },
  } = await octokit.pulls.get({
    owner,
    repo,
    pull_number: number,
  });
  const { data: diff } = await octokit.rest.pulls.get({
    owner,
    repo,
    pull_number: number,
    mediaType: {
      format: "diff",
    },
  });
  let reply;
  if (split == "yolo") {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…