No description
| .forgejo/workflows | ||
| .gitignore | ||
| inspect-api.sh | ||
| INSTRUCTIONS.md | ||
| README.md | ||
Forgejo API Test Repository
This is a temporary repository used to test the Forgejo Actions API structure.
Purpose
We need to trigger workflows to inspect the job objects returned by:
GET /api/v1/admin/runners/jobs
Workflows
.forgejo/workflows/api-test.yaml: Creates two jobs with different runner labels- Job 1:
runs-on: docker - Job 2:
runs-on: docker-benchmark
- Job 1:
Testing Steps
- Push this repository to Forgejo
- Trigger the workflow (via push or manual dispatch)
- Immediately query the API to capture job structure
- Inspect the response to find runner label field
Expected API Response
We're looking for fields like:
runs_on: Array of required labelslabels: Runner labelsrunner_labels: Required labels- Any field indicating which runner type the job needs
Cleanup
Delete this repository after API structure is confirmed.