Enable bots to read Actions results via API #144
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot#144
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Bots working on this repo (e.g. CI notification agents, coding agents opening PRs) currently cannot programmatically check whether Actions passed or failed, read job logs, or download artifacts.
What's Available (Forgejo v14.0.2)
GET /repos/{owner}/{repo}/actions/runsGET /repos/{owner}/{repo}/actions/runs/{run_id}GET /repos/{owner}/{repo}/actions/runners/jobsPOST /repos/{owner}/{repo}/actions/workflows/{name}/dispatchesThe missing endpoints exist in Gitea 1.26+dev (unreleased upstream):
GET /actions/jobs/{job_id}/logsGET /actions/artifacts+GET /actions/artifacts/{id}/zipGET /actions/runs/{run}/jobsGET /actions/workflowsWorkarounds (for now)
html_urlfrom run response as fallback for reading logsAction Items
References