Commit 69e35f7
committed
Add Actions API endpoints for workflow run and job management
Implements comprehensive REST API endpoints for GitHub Actions workflow runs:
- POST /actions/runs/{run}/rerun - Rerun entire workflow run
- POST /actions/runs/{run}/cancel - Cancel running workflow
- POST /actions/runs/{run}/approve - Approve workflow requiring approval
- POST /actions/runs/{run}/jobs/{job_id}/rerun - Rerun specific job
- GET /actions/runs/{run}/logs - Download run logs archive
- GET /actions/runs/{run}/jobs/{job_id}/logs - Download job logs
- POST /actions/runs/{run}/logs - Stream logs with cursor support
Features:
- Proper permission checks and workflow validation
- Support for "latest" run parameter
- Job dependency handling for reruns
- Streaming log API with cursor-based pagination
- Comprehensive test coverage
Fixes workflow management gaps in API compatibility.1 parent 90cb5f9 commit 69e35f7
File tree
4 files changed
+1023
-0
lines changed- routers/api/v1
- repo
- swagger
- tests/integration
4 files changed
+1023
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
1292 | 1295 | | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
1293 | 1302 | | |
1294 | 1303 | | |
1295 | 1304 | | |
| |||
0 commit comments