Skip to content

Commit 40e71dc

Browse files
octokitbotgr2m
authored andcommitted
WIP octokit/routes updated
1 parent ba0ffaa commit 40e71dc

File tree

3 files changed

+2170
-1
lines changed

3 files changed

+2170
-1
lines changed

README.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ octokit.migrations.listForOrg({ org });
460460
octokit.migrations.getStatusForOrg({ org, migration_id });
461461

462462
// https://developer.github.com/v3/migrations/orgs/#download-an-organization-migration-archive
463+
octokit.migrations.downloadArchiveForOrg({ org, migration_id });
464+
465+
// DEPRECATED: octokit.migrations.getArchiveForOrg() has been renamed to octokit.migrations.downloadArchiveForOrg()
463466
octokit.migrations.getArchiveForOrg({ org, migration_id });
464467

465468
// https://developer.github.com/v3/migrations/orgs/#delete-an-organization-migration-archive
@@ -795,6 +798,87 @@ octokit.repos.update({
795798
// https://developer.github.com/v3/repos/#delete-a-repository
796799
octokit.repos.delete({ owner, repo });
797800

801+
// https://developer.github.com/v3/actions/artifacts/#get-an-artifact
802+
octokit.actions.getArtifact({ owner, repo, artifact_id });
803+
804+
// https://developer.github.com/v3/actions/artifacts/#delete-an-artifact
805+
octokit.actions.deleteArtifact({ owner, repo, artifact_id });
806+
807+
// https://developer.github.com/v3/actions/artifacts/#download-an-artifact
808+
octokit.actions.downloadArtifact({ owner, repo, artifact_id, archive_format });
809+
810+
// https://developer.github.com/v3/actions/workflow_jobs/#get-a-workflow-job
811+
octokit.actions.getWorkflowJob({ owner, repo, job_id });
812+
813+
// https://developer.github.com/v3/actions/workflow_jobs/#list-workflow-job-logs
814+
octokit.actions.listWorkflowJobLogs({ owner, repo, job_id });
815+
816+
// https://developer.github.com/v3/actions/self_hosted_runners/#list-self-hosted-runners-for-a-repository
817+
octokit.actions.listSelfHostedRunnersForRepo({ owner, repo });
818+
819+
// https://developer.github.com/v3/actions/self_hosted_runners/#create-a-registration-token
820+
octokit.actions.createRegistrationToken({ owner, repo });
821+
822+
// https://developer.github.com/v3/actions/self_hosted_runners/#create-a-remove-token
823+
octokit.actions.createRemoveToken({ owner, repo });
824+
825+
// https://developer.github.com/v3/actions/self_hosted_runners/#get-a-self-hosted-runner
826+
octokit.actions.getSelfHostedRunner({ owner, repo, runner_id });
827+
828+
// https://developer.github.com/v3/actions/self_hosted_runners/#remove-a-self-hosted-runner
829+
octokit.actions.removeSelfHostedRunner({ owner, repo, runner_id });
830+
831+
// https://developer.github.com/v3/actions/workflow_runs/#list-repository-workflow-runs
832+
octokit.actions.listRepoWorkflowRuns({ owner, repo });
833+
834+
// https://developer.github.com/v3/actions/workflow_runs/#get-a-workflow-run
835+
octokit.actions.getWorkflowRun({ owner, repo, run_id });
836+
837+
// https://developer.github.com/v3/actions/artifacts/#list-workflow-run-artifacts
838+
octokit.actions.listWorkflowRunArtifacts({ owner, repo, run_id });
839+
840+
// https://developer.github.com/v3/actions/workflow_runs/#cancel-a-workflow-run
841+
octokit.actions.cancelWorkflowRun({ owner, repo, run_id });
842+
843+
// https://developer.github.com/v3/actions/workflow_jobs/#list-jobs-for-a-workflow-run
844+
octokit.actions.listJobsForWorkflowRun({ owner, repo, run_id });
845+
846+
// https://developer.github.com/v3/actions/workflow_runs/#list-workflow-run-logs
847+
octokit.actions.listWorkflowRunLogs({ owner, repo, run_id });
848+
849+
// https://developer.github.com/v3/actions/workflow_runs/#re-run-a-workflow
850+
octokit.actions.reRunWorkflow({ owner, repo, run_id });
851+
852+
// https://developer.github.com/v3/actions/secrets/#list-secrets-for-a-repository
853+
octokit.actions.listSecretsForRepo({ owner, repo });
854+
855+
// https://developer.github.com/v3/actions/secrets/#get-your-public-key
856+
octokit.actions.getPublicKey({ owner, repo });
857+
858+
// https://developer.github.com/v3/actions/secrets/#get-a-secret
859+
octokit.actions.getSecret({ owner, repo, name });
860+
861+
// https://developer.github.com/v3/actions/secrets/#create-or-update-a-secret-for-a-repository
862+
octokit.actions.createOrUpdateSecretForRepo({
863+
owner,
864+
repo,
865+
name,
866+
encrypted_value,
867+
key_id
868+
});
869+
870+
// https://developer.github.com/v3/actions/secrets/#delete-a-secret-from-a-repository
871+
octokit.actions.deleteSecretFromRepo({ owner, repo, name });
872+
873+
// https://developer.github.com/v3/actions/workflows/#list-repository-workflows
874+
octokit.actions.listRepoWorkflows({ owner, repo });
875+
876+
// https://developer.github.com/v3/actions/workflows/#get-a-workflow
877+
octokit.actions.getWorkflow({ owner, repo, workflow_id });
878+
879+
// https://developer.github.com/v3/actions/workflow_runs/#list-workflow-runs
880+
octokit.actions.listWorkflowRuns({ owner, repo, workflow_id });
881+
798882
// https://developer.github.com/v3/issues/assignees/#list-assignees
799883
octokit.issues.listAssignees({ owner, repo });
800884

0 commit comments

Comments
 (0)