0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-11-27 07:35:13 +01:00

9 Commits

Author SHA1 Message Date
Ross Golder
a18a42b074
Run make fmt to format code 2025-10-23 22:40:30 +07:00
Ross Golder
f797bc78f1
Move rerunJob logic to shared actions_service.RerunJob function for reuse across API and WEBUI 2025-10-23 22:38:20 +07:00
Ross Golder
b8ab9115f8
Remove 'latest' support from run ID parameter for consistency with other workflow APIs 2025-10-23 22:33:19 +07:00
Ross Golder
ef7f7e2a5c
Move run time reset logic to shared actions_service.ResetRunTimes function 2025-10-23 22:27:48 +07:00
Ross Golder
aaf50824a7
Remove redundant Repo.CanWrite checks from action handlers - permissions are enforced at route level 2025-10-23 22:22:55 +07:00
Ross Golder
be0c0bd68f
Fix test job ID and add LoadRun check in rerunJob 2025-10-23 22:13:26 +07:00
Ross Golder
267a53cd4d
feat: add Actions API endpoints for workflow run and job management 2025-10-23 21:27:19 +07:00
AlexMaryW
c10c4203ee
Add owner and parent fields clarification to docs (#35023)
Issue: https://github.com/go-gitea/gitea/issues/9637

Changes introduced: I have clarified the problematic terms (owner and
parent) in all affected endpoints.

The changes were made to relevant:

- HTTP endpoint parameters' descriptions
- response/request models' fields

This MR is big, but most changes are the same. If you'd like me to break
this MR into several smaller ones, let me know :)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-23 06:44:34 +00:00
Lunny Xiao
0c6957ef8d
Download actions job logs from API (#33858)
Related to #33709, #31416

It's similar with
https://docs.github.com/en/rest/actions/workflow-jobs?apiVersion=2022-11-28#download-job-logs-for-a-workflow-run--code-samples.

This use `job_id` as path parameter which is consistent with Github's
APIs.

---------

Co-authored-by: ChristopherHX <christopher.homberger@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-03-26 11:30:52 -07:00