Search

252 results found for api.github.com (1145ms)

Code
212

AUTHORIZE_URL: "https://github.com/login/oauth/authorize",
TOKEN_URL: "https://github.com/login/oauth/access_token",
USER_INFO_URL: "https://api.github.com/user",
ENABLED: !!(Deno.env.get("GITHUB_CLIENT_ID") && Deno.env.get("GITHUB_CLIENT_SECRET")),
},
async function fetchGitHubUserEmail(accessToken: string) {
try {
const emailRequest = await fetch("https://api.github.com/user/emails", {
headers: {
"Authorization": `Bearer ${accessToken}`,
AUTHORIZE_URL: "https://github.com/login/oauth/authorize",
TOKEN_URL: "https://github.com/login/oauth/access_token",
USER_INFO_URL: "https://api.github.com/user",
ENABLED: !!(Deno.env.get("GITHUB_CLIENT_ID") && Deno.env.get("GITHUB_CLIENT_SECRET")),
},
// Get PR details
const url = `https://api.github.com/repos/${repo}/pulls/${prNumber}`;
let response;
// Proceed with merge
const url = `https://api.github.com/repos/${repo}/pulls/${prNumber}/merge`;
const response = await fetch(url, {
try {
const url = `https://api.github.com/repos/${repo}/pulls/${prNumber}`;
const response = await fetch(url, {
}
const url = `https://api.github.com/repos/${repo}/issues/${issueNumber}`;
const response = await fetch(url, {
try {
const url = `https://api.github.com/repos/${repo}/issues/${prNumber}/labels`;
const response = await fetch(url, {
try {
const url = `https://api.github.com/repos/${repo}/issues/${prNumber}/assignees`;
const response = await fetch(url, {
// Get PR details
const url = `https://api.github.com/repos/${repo}/pulls/${prNumber}`;
let response;
// Proceed with merge
const url = `https://api.github.com/repos/${repo}/pulls/${prNumber}/merge`;
const response = await fetch(url, {
try {
const url = `https://api.github.com/repos/${repo}/pulls/${prNumber}`;
const response = await fetch(url, {
}
const url = `https://api.github.com/repos/${repo}/issues/${issueNumber}`;
const response = await fetch(url, {
try {
const url = `https://api.github.com/repos/${repo}/issues/${prNumber}/labels`;
const response = await fetch(url, {

Vals

No vals found

Users

No users found

Docs

40
View more
No docs found