// 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' } })
// Octokit.js // https://github.com/octokit/core.js#readme const octokit = new Octokit({ auth: 'YOUR-TOKEN' })
await octokit.request('PUT /user/installations/{installation_id}/repositories/{repository_id}', { installation_id: 1, repository_id: 'REPOSITORY_ID', headers: { 'X-GitHub-Api-Version': '2022-11-28' } })// Octokit.js // https://github.com/octokit/core.js#readme const octokit = new Octokit({ auth: 'YOUR-TOKEN' })
await octokit.request('GET /user/installations/{installation_id}/repositories', { installation_id: 1, headers: { 'X-GitHub-Api-Version': '2022-11-28' } })// Octokit.js // https://github.com/octokit/core.js#readme const octokit = new Octokit({ auth: 'YOUR-TOKEN' })
await octokit.request('GET /user/installations', { headers: { 'X-GitHub-Api-Version': '2022-11-28' } })// Octokit.js // https://github.com/octokit/core.js#readme const octokit = new Octokit({ auth: 'YOUR-TOKEN' })
await octokit.request('DELETE /installation/token', { headers: { 'X-GitHub-Api-Version': '2022-11-28' } })// Octokit.js // https://github.com/octokit/core.js#readme const octokit = new Octokit({ auth: 'YOUR-TOKEN' })
await octokit.request('GET /user/installations', {
headers: {
'X-GitHub-Api-Version': '2022-11-28'
}
})
The runner is the application that runs a job from a GitHub Actions workflow. It is used by GitHub Actions in the hosted virtual environments, or you can self-host the runner in your own environment.
For more information about installing and using self-hosted runners, see Adding self-hosted runners and Using self-hosted runners in a workflow
Runner releases:
We accept contributions in the form of issues and pull requests. The runner typically requires changes across the entire system and we aim for issues in the runner to be entirely self contained and fixable here. Therefore, we will primarily handle bug issues opened in this repo and we kindly request you to create all feature and enhancement requests on the GitHub Feedback page. Read more about our guidelines here before contributing.