-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new action runner groups endpoints, new code scanning alerts au…
…tofix endpoints, new sub-issues endpoints, new private registries enpoints, new code security endpoints, various description updates (#777) - Description updates - New `/enterprises/{enterprise}/copilot/billing/seats` - New `/enterprises/{enterprise}/settings/billing/cost-centers` - New `/enterprises/{enterprise}/settings/billing/usage` - New `/enterprises/{enterprise}/code-security/configurations/defaults` - New `/enterprises/{enterprise}/code-security/configurations/{configuration_id}` - New `/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach` - New `/orgs/{org}/actions/runner-groups` - New `/orgs/{org}/actions/runner-groups/{runner_group_id}` - New `/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories` - New `/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}` - New `/orgs/{org}/actions/runner-groups/{runner_group_id}/runners` - New `/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}` - New `/orgs/{org}/copilot/metrics` - New `/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}` - New `/orgs/{org}/insights/api/subject-stats` - New `/orgs/{org}/insights/api/summary-stats` - New `/orgs/{org}/insights/api/summary-stats/users/{user_id}` - New `/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}` - New `/orgs/{org}/insights/api/time-stats` - New `/orgs/{org}/insights/api/time-stats/users/{user_id}` - New `/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}` - New `/orgs/{org}/insights/api/user-stats/{user_id}` - New `/orgs/{org}/private-registries` - New `/orgs/{org}/private-registries/public-key` - New `/orgs/{org}/private-registries/{secret_name}` - New `/orgs/{org}/team/{team_slug}/copilot/metrics` - New `/orgs/{org}/team/{team_slug}/copilot/usage` - **Deprecate `/orgs/{org}/{security_product}/{enablement}`** - New `/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix` - New `/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits` - New `/repos/{owner}/{repo}/code-security-configuration` - Add discriminators for various properties - New `/repos/{owner}/{repo}/issues/{issue_number}/sub_issues` - New `/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority` - New `/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses` - New `/repos/{owner}/{repo}/secret-scanning/scan-history`
- Loading branch information
1 parent
577d7d7
commit 5e1ecd4
Showing
298 changed files
with
13,347 additions
and
3,379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
name: Add repository access to a self-hosted runner group in an organization | ||
example: octokit.rest.actions.addRepoAccessToSelfHostedRunnerGroupInOrg({ org, runner_group_id, repository_id }) | ||
route: PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id} | ||
scope: actions | ||
type: API method | ||
--- | ||
|
||
# Add repository access to a self-hosted runner group in an organization | ||
|
||
Adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." | ||
|
||
OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. | ||
|
||
```js | ||
octokit.rest.actions.addRepoAccessToSelfHostedRunnerGroupInOrg({ | ||
org, | ||
runner_group_id, | ||
repository_id, | ||
}); | ||
``` | ||
|
||
## Parameters | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>name</th> | ||
<th>required</th> | ||
<th>description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr><td>org</td><td>yes</td><td> | ||
|
||
The organization name. The name is not case sensitive. | ||
|
||
</td></tr> | ||
<tr><td>runner_group_id</td><td>yes</td><td> | ||
|
||
Unique identifier of the self-hosted runner group. | ||
|
||
</td></tr> | ||
<tr><td>repository_id</td><td>yes</td><td> | ||
|
||
The unique identifier of the repository. | ||
|
||
</td></tr> | ||
</tbody> | ||
</table> | ||
|
||
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.