feat(api): Add GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs - #37196
Conversation
bn-zr
commented
Apr 13, 2026
- Add GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs endpoint, matching the https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2026-03-10#list-workflow-runs-for-a-workflow
|
This PR aims for GitHub API compatibility. A few items drift from that — implement what's feasible.
Comment written by Claude Opus 4.6. |
- Update workflow_id swagger description to clarify filename-only - Add exclude_pull_requests query parameter - Return 404 for nonexistent workflow in ActionsListWorkflowRuns - Remove break from test loop so all runs are verified - Add actor and head_sha filter coverage to testAPIWorkflowRunsByWorkflowID - Update nonexistent workflow test to expect 404
c1fd337 to
e15b1c2
Compare
|
passes locally @silverwind can you rerun? thats weird... |
|
Ensure you run without test cache: |
|
Is it ready? |
|
@silverwind could you please check again? |
Assisted-by: Claude:claude-opus-4-8
|
@wxiaoguang can you check again pls |
…id}/runs (go-gitea#37196) - Add GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs endpoint, matching the https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2026-03-10#list-workflow-runs-for-a-workflow --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: bircni <bircni@icloud.com>