-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: many new unreleased endpoints (#632)
* WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated * WIP octokit/openapi updated
- Loading branch information
1 parent
7da00f2
commit 835ab6b
Showing
168 changed files
with
54,147 additions
and
12,920 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: List repository organization secrets | ||
example: octokit.rest.actions.listRepoOrganizationSecrets({ owner, repo }) | ||
route: GET /repos/{owner}/{repo}/actions/organization-secrets | ||
scope: actions | ||
type: API method | ||
--- | ||
|
||
# List repository organization secrets | ||
|
||
Lists all organization secrets shared with a repository without revealing their encrypted values. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `secrets` repository permission to use this endpoint. | ||
|
||
```js | ||
octokit.rest.actions.listRepoOrganizationSecrets({ | ||
owner, | ||
repo, | ||
}); | ||
``` | ||
|
||
## Parameters | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>name</th> | ||
<th>required</th> | ||
<th>description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr><td>owner</td><td>yes</td><td> | ||
|
||
The account owner of the repository. The name is not case sensitive. | ||
|
||
</td></tr> | ||
<tr><td>repo</td><td>yes</td><td> | ||
|
||
The name of the repository. The name is not case sensitive. | ||
|
||
</td></tr> | ||
<tr><td>per_page</td><td>no</td><td> | ||
|
||
The number of results per page (max 100). | ||
|
||
</td></tr> | ||
<tr><td>page</td><td>no</td><td> | ||
|
||
Page number of the results to fetch. | ||
|
||
</td></tr> | ||
</tbody> | ||
</table> | ||
|
||
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets). |
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,54 @@ | ||
--- | ||
name: List repository organization variables | ||
example: octokit.rest.actions.listRepoOrganizationVariables({ owner, repo }) | ||
route: GET /repos/{owner}/{repo}/actions/organization-variables | ||
scope: actions | ||
type: API method | ||
--- | ||
|
||
# List repository organization variables | ||
|
||
Lists all organiation variables shared with a repository. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions_variables:read` repository permission to use this endpoint. | ||
|
||
```js | ||
octokit.rest.actions.listRepoOrganizationVariables({ | ||
owner, | ||
repo, | ||
}); | ||
``` | ||
|
||
## Parameters | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>name</th> | ||
<th>required</th> | ||
<th>description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr><td>owner</td><td>yes</td><td> | ||
|
||
The account owner of the repository. The name is not case sensitive. | ||
|
||
</td></tr> | ||
<tr><td>repo</td><td>yes</td><td> | ||
|
||
The name of the repository. The name is not case sensitive. | ||
|
||
</td></tr> | ||
<tr><td>per_page</td><td>no</td><td> | ||
|
||
The number of results per page (max 30). | ||
|
||
</td></tr> | ||
<tr><td>page</td><td>no</td><td> | ||
|
||
Page number of the results to fetch. | ||
|
||
</td></tr> | ||
</tbody> | ||
</table> | ||
|
||
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/actions/variables#list-repository-organization-variables). |
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,55 @@ | ||
--- | ||
name: Review custom deployment protection rules for a workflow run | ||
example: octokit.rest.actions.reviewCustomGatesForRun({ owner, repo, run_id }) | ||
route: POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule | ||
scope: actions | ||
type: API method | ||
--- | ||
|
||
# Review custom deployment protection rules for a workflow run | ||
|
||
Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/actions/deployment/targeting-different-environments/using-environments-for-deployment)." | ||
|
||
**Note:** GitHub Apps can only review their own custom deployment protection rules. | ||
To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run). | ||
|
||
GitHub Apps must have read and write permission for **Deployments** to use this endpoint. | ||
|
||
```js | ||
octokit.rest.actions.reviewCustomGatesForRun({ | ||
owner, | ||
repo, | ||
run_id, | ||
}); | ||
``` | ||
|
||
## Parameters | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>name</th> | ||
<th>required</th> | ||
<th>description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr><td>owner</td><td>yes</td><td> | ||
|
||
The account owner of the repository. The name is not case sensitive. | ||
|
||
</td></tr> | ||
<tr><td>repo</td><td>yes</td><td> | ||
|
||
The name of the repository. The name is not case sensitive. | ||
|
||
</td></tr> | ||
<tr><td>run_id</td><td>yes</td><td> | ||
|
||
The unique identifier of the workflow run. | ||
|
||
</td></tr> | ||
</tbody> | ||
</table> | ||
|
||
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run). |
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.