-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapis.yml
More file actions
439 lines (439 loc) · 22.4 KB
/
Copy pathapis.yml
File metadata and controls
439 lines (439 loc) · 22.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
name: GitHub Actions
description: APIs for GitHub Actions - automation and CI/CD platform.
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
url: https://docs.github.com/en/rest/actions
created: '2024'
modified: '2026-05-19'
specificationVersion: '0.18'
apis:
- name: GitHub Actions API
description: REST API for managing GitHub Actions workflows, runs, artifacts, and secrets.
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
humanURL: https://docs.github.com/en/actions
baseURL: https://api.github.com
tags:
- Automation
- CI/CD
- DevOps
- Workflows
properties:
- type: Documentation
url: https://docs.github.com/en/rest/actions
- type: OpenAPI
url: >-
https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json
- type: Authentication
url: https://docs.github.com/en/rest/overview/authenticating-to-the-rest-api
- type: GettingStarted
url: https://docs.github.com/en/actions/get-started/quickstart
- type: APIReference
url: https://docs.github.com/en/rest/actions
- type: ChangeLog
url: https://github.blog/changelog/label/actions/
- type: SDK
url: https://github.com/octokit/octokit.js
title: JavaScript SDK
- type: SDK
url: https://github.com/octokit/octokit.rb
title: Ruby SDK
- type: SDK
url: https://github.com/octokit/octokit.net
title: .NET SDK
- type: SDK
url: https://github.com/google/go-github
title: Go SDK
- type: CLI
url: https://cli.github.com/manual/gh_workflow_run
- type: RateLimits
url: https://docs.github.com/en/rest/overview/rate-limits-for-the-rest-api
- type: OpenAPI
url: openapi/github-actions-openapi.yml
- type: JSONSchema
url: json-schema/github-actions-workflow-schema.json
- type: JSONSchema
url: json-schema/github-actions-run-schema.json
- type: JSONSchema
url: json-schema/github-actions-job-schema.json
- type: JSONSchema
url: json-schema/github-actions-artifact-schema.json
- type: JSONSchema
url: json-schema/github-actions-secret-schema.json
- type: JSONSchema
url: json-schema/github-actions-runner-schema.json
- type: JSONSchema
url: json-schema/github-actions-variable-schema.json
- type: JSONSchema
url: json-schema/github-actions-cache-schema.json
- type: JSONSchema
url: json-schema/github-actions-simple-user-schema.json
- type: JSONLD
url: json-ld/github-actions-context.jsonld
contact:
- type: Support
url: https://support.github.com
- type: StatusPage
url: https://www.githubstatus.com
endpoints:
- name: Workflows
description: Manage workflow files and workflow runs
methods:
- GET /repos/{owner}/{repo}/actions/workflows
- GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}
- GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs
- POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
- PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable
- PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable
- GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing
- name: Workflow Runs
description: Manage and monitor workflow run executions
methods:
- GET /repos/{owner}/{repo}/actions/runs
- GET /repos/{owner}/{repo}/actions/runs/{run_id}
- POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun
- POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel
- DELETE /repos/{owner}/{repo}/actions/runs/{run_id}
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals
- POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs
- POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule
- POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs
- DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments
- POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments
- POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing
- name: Artifacts
description: Download and manage workflow run artifacts
methods:
- GET /repos/{owner}/{repo}/actions/artifacts
- GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}
- GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}
- DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts
- name: Secrets
description: Manage encrypted secrets for Actions
methods:
- GET /repos/{owner}/{repo}/actions/secrets
- GET /repos/{owner}/{repo}/actions/secrets/{secret_name}
- PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}
- DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}
- GET /repos/{owner}/{repo}/actions/secrets/public-key
- GET /repos/{owner}/{repo}/actions/organization-secrets
- GET /orgs/{org}/actions/secrets
- GET /orgs/{org}/actions/secrets/public-key
- GET /orgs/{org}/actions/secrets/{secret_name}
- PUT /orgs/{org}/actions/secrets/{secret_name}
- DELETE /orgs/{org}/actions/secrets/{secret_name}
- GET /orgs/{org}/actions/secrets/{secret_name}/repositories
- PUT /orgs/{org}/actions/secrets/{secret_name}/repositories
- PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}
- DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}
- GET /repos/{owner}/{repo}/environments/{environment_name}/secrets
- GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key
- GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}
- PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}
- DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}
- name: Self-hosted Runners
description: Manage self-hosted runners for workflows
methods:
- GET /repos/{owner}/{repo}/actions/runners
- GET /repos/{owner}/{repo}/actions/runners/{runner_id}
- DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}
- GET /repos/{owner}/{repo}/actions/runners/downloads
- POST /repos/{owner}/{repo}/actions/runners/registration-token
- POST /repos/{owner}/{repo}/actions/runners/remove-token
- POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig
- GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels
- POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels
- PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels
- DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels
- DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}
- GET /orgs/{org}/actions/runners
- GET /orgs/{org}/actions/runners/{runner_id}
- DELETE /orgs/{org}/actions/runners/{runner_id}
- GET /orgs/{org}/actions/runners/downloads
- POST /orgs/{org}/actions/runners/registration-token
- POST /orgs/{org}/actions/runners/remove-token
- POST /orgs/{org}/actions/runners/generate-jitconfig
- GET /orgs/{org}/actions/runners/{runner_id}/labels
- POST /orgs/{org}/actions/runners/{runner_id}/labels
- PUT /orgs/{org}/actions/runners/{runner_id}/labels
- DELETE /orgs/{org}/actions/runners/{runner_id}/labels
- DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}
- name: Jobs
description: Access information about workflow jobs
methods:
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs
- GET /repos/{owner}/{repo}/actions/jobs/{job_id}
- GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs
- POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun
- GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs
- name: Cache
description: Manage workflow dependency caches
methods:
- GET /repos/{owner}/{repo}/actions/caches
- DELETE /repos/{owner}/{repo}/actions/caches
- DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}
- GET /repos/{owner}/{repo}/actions/cache/usage
- GET /repos/{owner}/{repo}/actions/cache/retention-limit
- PUT /repos/{owner}/{repo}/actions/cache/retention-limit
- GET /repos/{owner}/{repo}/actions/cache/storage-limit
- PUT /repos/{owner}/{repo}/actions/cache/storage-limit
- GET /orgs/{org}/actions/cache/usage
- GET /orgs/{org}/actions/cache/usage-by-repository
- GET /organizations/{org}/actions/cache/retention-limit
- PUT /organizations/{org}/actions/cache/retention-limit
- GET /organizations/{org}/actions/cache/storage-limit
- PUT /organizations/{org}/actions/cache/storage-limit
- name: Variables
description: Create and manage workflow variables at organization, repository, and environment scopes
methods:
- GET /repos/{owner}/{repo}/actions/variables
- POST /repos/{owner}/{repo}/actions/variables
- GET /repos/{owner}/{repo}/actions/variables/{name}
- PATCH /repos/{owner}/{repo}/actions/variables/{name}
- DELETE /repos/{owner}/{repo}/actions/variables/{name}
- GET /repos/{owner}/{repo}/actions/organization-variables
- GET /orgs/{org}/actions/variables
- POST /orgs/{org}/actions/variables
- GET /orgs/{org}/actions/variables/{name}
- PATCH /orgs/{org}/actions/variables/{name}
- DELETE /orgs/{org}/actions/variables/{name}
- GET /orgs/{org}/actions/variables/{name}/repositories
- PUT /orgs/{org}/actions/variables/{name}/repositories
- PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}
- DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}
- GET /repos/{owner}/{repo}/environments/{environment_name}/variables
- POST /repos/{owner}/{repo}/environments/{environment_name}/variables
- GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}
- PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}
- DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}
- name: Permissions
description: >-
Control GitHub Actions enablement, allowed actions, and workflow permissions at organization and repository
levels
methods:
- GET /orgs/{org}/actions/permissions
- PUT /orgs/{org}/actions/permissions
- GET /orgs/{org}/actions/permissions/repositories
- PUT /orgs/{org}/actions/permissions/repositories
- PUT /orgs/{org}/actions/permissions/repositories/{repository_id}
- DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}
- GET /orgs/{org}/actions/permissions/selected-actions
- PUT /orgs/{org}/actions/permissions/selected-actions
- GET /orgs/{org}/actions/permissions/workflow
- PUT /orgs/{org}/actions/permissions/workflow
- GET /repos/{owner}/{repo}/actions/permissions
- PUT /repos/{owner}/{repo}/actions/permissions
- GET /repos/{owner}/{repo}/actions/permissions/access
- PUT /repos/{owner}/{repo}/actions/permissions/access
- GET /repos/{owner}/{repo}/actions/permissions/selected-actions
- PUT /repos/{owner}/{repo}/actions/permissions/selected-actions
- GET /repos/{owner}/{repo}/actions/permissions/workflow
- PUT /repos/{owner}/{repo}/actions/permissions/workflow
- name: OIDC
description: Manage OpenID Connect subject claim customization templates for organizations and repositories
methods:
- GET /orgs/{org}/actions/oidc/customization/sub
- PUT /orgs/{org}/actions/oidc/customization/sub
- GET /repos/{owner}/{repo}/actions/oidc/customization/sub
- PUT /repos/{owner}/{repo}/actions/oidc/customization/sub
- name: Self-hosted Runner Groups
description: Create and manage runner groups to control repository access and organize self-hosted runners
methods:
- GET /orgs/{org}/actions/runner-groups
- POST /orgs/{org}/actions/runner-groups
- GET /orgs/{org}/actions/runner-groups/{runner_group_id}
- PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}
- DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}
- GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories
- PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories
- PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}
- DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}
- GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners
- PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners
- PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}
- DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}
- name: GitHub-hosted Runners
description: Provision and manage GitHub-hosted runners, custom images, and machine specifications for organizations
methods:
- GET /orgs/{org}/actions/hosted-runners
- POST /orgs/{org}/actions/hosted-runners
- GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}
- PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}
- DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}
- GET /orgs/{org}/actions/hosted-runners/images/github-owned
- GET /orgs/{org}/actions/hosted-runners/images/partner
- GET /orgs/{org}/actions/hosted-runners/images/custom
- GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}
- DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}
- GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions
- GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}
- DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}
- GET /orgs/{org}/actions/hosted-runners/limits
- GET /orgs/{org}/actions/hosted-runners/machine-sizes
- GET /orgs/{org}/actions/hosted-runners/platforms
maintainers:
- type: GitHub
name: GitHub, Inc.
url: https://github.com
email: support@github.com
- FN: Kin Lane
email: kin@apievangelist.com
common:
- type: PostmanWorkspace
url: https://www.postman.com/kinlaneapi/github-actions/overview
- type: ArazzoWorkflows
url: arazzo/
workflows:
- url: arazzo/github-actions-approve-pending-deployment-workflow.yml
name: GitHub Actions Approve a Pending Deployment
summary: Get a run, find its pending deployment environments, approve them, then poll the run to completion.
- url: arazzo/github-actions-cancel-run-workflow.yml
name: GitHub Actions Cancel a Workflow Run and Confirm
summary: Get a run, request cancellation, poll until it is no longer in progress, and force-cancel if it gets stuck.
- url: arazzo/github-actions-collect-run-artifacts-workflow.yml
name: GitHub Actions Collect Workflow Run Artifacts
summary: Find the latest run for a repository, confirm it, list its artifacts, and resolve a download URL.
- url: arazzo/github-actions-dispatch-and-track-run-workflow.yml
name: GitHub Actions Dispatch and Track a Workflow Run
summary: Manually dispatch a workflow, find the run it created, poll until it completes, then list its jobs.
- url: arazzo/github-actions-inspect-failed-job-logs-workflow.yml
name: GitHub Actions Inspect Failed Job Logs
summary: Find the latest failed run, list its jobs, get the failing job, and resolve its log download URL.
- url: arazzo/github-actions-prune-repo-caches-workflow.yml
name: GitHub Actions Prune Repository Caches
summary: Read cache usage, list the largest caches, and delete the largest one by id to reclaim space.
- url: arazzo/github-actions-register-runner-workflow.yml
name: GitHub Actions Register a Self-hosted Runner
summary: List the available runner application binaries, mint a registration token, then list the repository's runners.
- url: arazzo/github-actions-rerun-failed-run-workflow.yml
name: GitHub Actions Re-run Failed Jobs and Track
summary: Find the most recent failed run, re-run only its failed jobs, and poll the run until it completes again.
- url: arazzo/github-actions-share-org-secret-workflow.yml
name: GitHub Actions Share an Organization Secret with Selected Repositories
summary: >-
Fetch the org public key, create or update a selected-visibility org secret, scope it to repositories, and
list them.
- url: arazzo/github-actions-upsert-repo-secret-workflow.yml
name: GitHub Actions Upsert a Repository Secret
summary: Fetch the repository public key, create or update an encrypted secret, then confirm it exists.
- url: arazzo/github-actions-upsert-repo-variable-workflow.yml
name: GitHub Actions Upsert a Repository Variable
summary: Look up a repository variable by name and either create it or update it, then read it back.
- type: TermsOfService
url: https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
- type: PrivacyPolicy
url: https://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement
- type: RateLimits
url: https://docs.github.com/en/rest/overview/rate-limits-for-the-rest-api
- type: Blog
url: https://github.blog/category/product/actions/
- type: StatusPage
url: https://www.githubstatus.com
- type: ChangeLog
url: https://github.blog/changelog/label/actions/
- type: GettingStarted
url: https://docs.github.com/en/actions/get-started/quickstart
- type: Authentication
url: https://docs.github.com/en/rest/overview/authenticating-to-the-rest-api
- type: Support
url: https://support.github.com
- type: Pricing
url: https://github.com/pricing
- type: GitHubOrganization
url: https://github.com/github
- type: Portal
url: https://docs.github.com/en/rest
- type: Documentation
url: https://docs.github.com/en/actions
- type: SignUp
url: https://github.com/signup
- type: Login
url: https://github.com/login
- type: DeveloperPortal
url: https://developer.github.com/
- type: Marketplace
url: https://github.com/marketplace?type=actions
- type: StackOverflow
url: https://stackoverflow.com/questions/tagged/github-actions
- type: YouTube
url: https://www.youtube.com/github
- type: SDK
url: https://github.com/octokit/octokit.js
title: JavaScript SDK
- type: SDK
url: https://github.com/octokit/octokit.rb
title: Ruby SDK
- type: SDK
url: https://github.com/octokit/octokit.net
title: .NET SDK
- type: SDK
url: https://github.com/google/go-github
title: Go SDK
- type: CLI
url: https://cli.github.com/
- type: Quickstart
url: https://docs.github.com/en/rest/quickstart
- type: Security
url: https://docs.github.com/en/actions/security-for-github-actions
- type: JSONLD
url: json-ld/github-actions-context.jsonld
- type: JSONSchema
url: json-schema/github-actions-workflow-schema.json
- type: JSONSchema
url: json-schema/github-actions-run-schema.json
- type: JSONSchema
url: json-schema/github-actions-job-schema.json
- type: JSONSchema
url: json-schema/github-actions-artifact-schema.json
- type: JSONSchema
url: json-schema/github-actions-secret-schema.json
- type: JSONSchema
url: json-schema/github-actions-runner-schema.json
- type: JSONSchema
url: json-schema/github-actions-variable-schema.json
- type: JSONSchema
url: json-schema/github-actions-cache-schema.json
- type: JSONSchema
url: json-schema/github-actions-simple-user-schema.json
- type: Capabilities
url: capabilities/ci-cd-automation.yaml
title: CI/CD Automation Capability
- type: Capabilities
url: capabilities/shared/actions.yaml
title: Actions API Shared Definition
- type: Features
data:
- Automated CI/CD workflows triggered by repository events
- Matrix builds across multiple OS and language versions
- Reusable workflows and composite actions
- Encrypted secrets and variables at repo, org, and environment scopes
- Self-hosted and GitHub-hosted runner management
- Workflow artifact storage and sharing
- Deployment protection rules and environment approvals
- OIDC integration for cloud provider authentication
- Dependency caching for faster builds
- Runner groups for organizational access control
- type: UseCases
data:
- Continuous integration and testing on every push or pull request
- Automated deployment to cloud environments
- Scheduled maintenance and cleanup workflows
- Building and publishing container images
- Automated code quality and security scanning
- Release management and artifact publishing
- type: Integrations
data:
- AWS (via OIDC)
- Azure (via OIDC)
- Google Cloud (via OIDC)
- Docker Hub
- npm
- PyPI
- Slack
- Jira
- type: LLMsTxt
url: https://docs.github.com/llms.txt