Open Jbones4life36 opened 1 week ago
https://github.com/octokit/core.js#readme// Octokit.js // https://github.com/octokit/core.js#readme const octokit = new Octokit({ auth: 'YOUR-TOKEN' })
await octokit.request('DELETE /user/installations/{installation_id}/repositories/{repository_id}', { installation_id: 1, repository_id: 'REPOSITORY_ID', headers: { 'X-GitHub-Api-Version': '2022-11-28' } })
Originally posted by @lukins-cz in https://github.com/actions/runner-images/pull/10007#pullrequestreview-2111583426