@octokit/plugin-rest-endpoint-methods
Advanced tools
Comparing version 3.11.1 to 3.12.0
@@ -7,4 +7,16 @@ 'use strict'; | ||
actions: { | ||
addSelectedRepoToOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], | ||
cancelWorkflowRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"], | ||
createOrUpdateSecretForRepo: ["PUT /repos/{owner}/{repo}/actions/secrets/{name}"], | ||
createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], | ||
createOrUpdateRepoSecret: ["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { | ||
renamedParameters: { | ||
name: "secret_name" | ||
} | ||
}], | ||
createOrUpdateSecretForRepo: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { | ||
renamed: ["actions", "createOrUpdateRepoSecret"], | ||
renamedParameters: { | ||
name: "secret_name" | ||
} | ||
}], | ||
createRegistrationToken: ["POST /repos/{owner}/{repo}/actions/runners/registration-token", {}, { | ||
@@ -21,3 +33,8 @@ renamed: ["actions", "createRegistrationTokenForRepo"] | ||
deleteArtifact: ["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], | ||
deleteSecretFromRepo: ["DELETE /repos/{owner}/{repo}/actions/secrets/{name}"], | ||
deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], | ||
deleteRepoSecret: ["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { | ||
renamedParameters: { | ||
name: "secret_name" | ||
} | ||
}], | ||
deleteSelfHostedRunnerFromOrg: ["DELETE /orgs/{org}/actions/runners/{runner_id}"], | ||
@@ -30,4 +47,19 @@ deleteSelfHostedRunnerFromRepo: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"], | ||
getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], | ||
getPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], | ||
getSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{name}"], | ||
getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], | ||
getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], | ||
getPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key", {}, { | ||
renamed: ["actions", "getRepoPublicKey"] | ||
}], | ||
getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], | ||
getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { | ||
renamedParameters: { | ||
name: "secret_name" | ||
} | ||
}], | ||
getSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", {}, { | ||
renamed: ["actions", "getRepoSecret"], | ||
renamedParameters: { | ||
name: "secret_name" | ||
} | ||
}], | ||
getSelfHostedRunner: ["GET /repos/{owner}/{repo}/actions/runners/{runner_id}", {}, { | ||
@@ -41,2 +73,4 @@ renamed: ["actions", "getSelfHostedRunnerForRepo"] | ||
getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], | ||
getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"], | ||
getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"], | ||
listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], | ||
@@ -47,2 +81,4 @@ listDownloadsForSelfHostedRunnerApplication: ["GET /repos/{owner}/{repo}/actions/runners/downloads", {}, { | ||
listJobsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"], | ||
listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], | ||
listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], | ||
listRepoWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/runs"], | ||
@@ -52,3 +88,6 @@ listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], | ||
listRunnerApplicationsForRepo: ["GET /repos/{owner}/{repo}/actions/runners/downloads"], | ||
listSecretsForRepo: ["GET /repos/{owner}/{repo}/actions/secrets"], | ||
listSecretsForRepo: ["GET /repos/{owner}/{repo}/actions/secrets", {}, { | ||
renamed: ["actions", "listRepoSecrets"] | ||
}], | ||
listSelectedReposForOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"], | ||
listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], | ||
@@ -65,5 +104,7 @@ listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], | ||
reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], | ||
removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], | ||
removeSelfHostedRunner: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", {}, { | ||
renamed: ["actions", "deleteSelfHostedRunnerFromRepo"] | ||
}] | ||
}], | ||
setSelectedReposForOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"] | ||
}, | ||
@@ -1206,3 +1247,3 @@ activity: { | ||
const VERSION = "3.11.1"; | ||
const VERSION = "3.12.0"; | ||
@@ -1209,0 +1250,0 @@ function endpointsToMethods(octokit, endpointsMap) { |
const Endpoints = { | ||
actions: { | ||
addSelectedRepoToOrgSecret: [ | ||
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", | ||
], | ||
cancelWorkflowRun: [ | ||
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel", | ||
], | ||
createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], | ||
createOrUpdateRepoSecret: [ | ||
"PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}", | ||
{}, | ||
{ renamedParameters: { name: "secret_name" } }, | ||
], | ||
createOrUpdateSecretForRepo: [ | ||
"PUT /repos/{owner}/{repo}/actions/secrets/{name}", | ||
"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", | ||
{}, | ||
{ | ||
renamed: ["actions", "createOrUpdateRepoSecret"], | ||
renamedParameters: { name: "secret_name" }, | ||
}, | ||
], | ||
@@ -32,4 +46,7 @@ createRegistrationToken: [ | ||
], | ||
deleteSecretFromRepo: [ | ||
"DELETE /repos/{owner}/{repo}/actions/secrets/{name}", | ||
deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], | ||
deleteRepoSecret: [ | ||
"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}", | ||
{}, | ||
{ renamedParameters: { name: "secret_name" } }, | ||
], | ||
@@ -55,4 +72,23 @@ deleteSelfHostedRunnerFromOrg: [ | ||
getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], | ||
getPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], | ||
getSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{name}"], | ||
getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], | ||
getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], | ||
getPublicKey: [ | ||
"GET /repos/{owner}/{repo}/actions/secrets/public-key", | ||
{}, | ||
{ renamed: ["actions", "getRepoPublicKey"] }, | ||
], | ||
getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], | ||
getRepoSecret: [ | ||
"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", | ||
{}, | ||
{ renamedParameters: { name: "secret_name" } }, | ||
], | ||
getSecret: [ | ||
"GET /repos/{owner}/{repo}/actions/secrets/{secret_name}", | ||
{}, | ||
{ | ||
renamed: ["actions", "getRepoSecret"], | ||
renamedParameters: { name: "secret_name" }, | ||
}, | ||
], | ||
getSelfHostedRunner: [ | ||
@@ -70,2 +106,8 @@ "GET /repos/{owner}/{repo}/actions/runners/{runner_id}", | ||
getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], | ||
getWorkflowRunUsage: [ | ||
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing", | ||
], | ||
getWorkflowUsage: [ | ||
"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", | ||
], | ||
listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], | ||
@@ -80,2 +122,4 @@ listDownloadsForSelfHostedRunnerApplication: [ | ||
], | ||
listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], | ||
listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], | ||
listRepoWorkflowRuns: ["GET /repos/{owner}/{repo}/actions/runs"], | ||
@@ -87,3 +131,10 @@ listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], | ||
], | ||
listSecretsForRepo: ["GET /repos/{owner}/{repo}/actions/secrets"], | ||
listSecretsForRepo: [ | ||
"GET /repos/{owner}/{repo}/actions/secrets", | ||
{}, | ||
{ renamed: ["actions", "listRepoSecrets"] }, | ||
], | ||
listSelectedReposForOrgSecret: [ | ||
"GET /orgs/{org}/actions/secrets/{secret_name}/repositories", | ||
], | ||
listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], | ||
@@ -108,2 +159,5 @@ listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], | ||
reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], | ||
removeSelectedRepoFromOrgSecret: [ | ||
"DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", | ||
], | ||
removeSelfHostedRunner: [ | ||
@@ -114,2 +168,5 @@ "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}", | ||
], | ||
setSelectedReposForOrgSecret: [ | ||
"PUT /orgs/{org}/actions/secrets/{secret_name}/repositories", | ||
], | ||
}, | ||
@@ -116,0 +173,0 @@ activity: { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "3.11.1"; | ||
export const VERSION = "3.12.0"; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "3.11.1"; | ||
export declare const VERSION = "3.12.0"; |
{ | ||
"name": "@octokit/plugin-rest-endpoint-methods", | ||
"description": "Octokit plugin adding one method for all of api.github.com REST API endpoints", | ||
"version": "3.11.1", | ||
"version": "3.12.0", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "files": [ | ||
"dependencies": { | ||
"@octokit/types": "^3.0.2", | ||
"@octokit/types": "^4.0.0", | ||
"deprecation": "^2.3.1" | ||
@@ -23,0 +23,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1054044
13695
+ Added@octokit/types@4.1.10(transitive)
- Removed@octokit/types@3.0.3(transitive)
Updated@octokit/types@^4.0.0