No description
Find a file
Michael Griffith b847a85423
Some checks failed
API Structure Test / test-benchmark (push) Has been cancelled
API Structure Test / test-docker (push) Successful in 17s
first commit
2026-03-19 22:33:22 -04:00
.forgejo/workflows first commit 2026-03-19 22:33:22 -04:00
.gitignore first commit 2026-03-19 22:33:22 -04:00
inspect-api.sh first commit 2026-03-19 22:33:22 -04:00
INSTRUCTIONS.md first commit 2026-03-19 22:33:22 -04:00
README.md first commit 2026-03-19 22:33:22 -04:00

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

Testing Steps

  1. Push this repository to Forgejo
  2. Trigger the workflow (via push or manual dispatch)
  3. Immediately query the API to capture job structure
  4. Inspect the response to find runner label field

Expected API Response

We're looking for fields like:

  • runs_on: Array of required labels
  • labels: Runner labels
  • runner_labels: Required labels
  • Any field indicating which runner type the job needs

Cleanup

Delete this repository after API structure is confirmed.