1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-10 15:38:21 +01:00
gitea/services/actions
Nicolas 054eb6d8a5
feat: Add Actions API rerun endpoints for runs and jobs (#36768)
This PR adds official REST API endpoints to rerun Gitea Actions workflow
runs and individual jobs:

* POST /api/v1/repos/{owner}/{repo}/actions/runs/{run}/rerun
* POST /api/v1/repos/{owner}/{repo}/actions/runs/{run}/jobs/{job_id}/rerun

It reuses the existing rerun behavior from the web UI and exposes it
through stable API routes.

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2026-03-02 21:34:06 +00:00
..
auth_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
auth.go Fix token lifetime, closes #35230 (#35271) 2025-08-14 06:57:05 +00:00
cleanup.go Fix ephemeral runner deletion (#34447) 2025-05-20 15:42:31 +00:00
clear_tasks.go Cleanup ActionRun creation (#35624) 2025-10-12 12:23:37 +00:00
commit_status.go Move jobparser from act repository to Gitea (#36699) 2026-02-22 19:33:01 +00:00
concurrency.go Move jobparser from act repository to Gitea (#36699) 2026-02-22 19:33:01 +00:00
context_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
context.go Enable nilnil linter for new code (#36591) 2026-02-16 09:57:18 +00:00
init_test.go Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
init.go Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) 2024-12-23 09:59:16 +00:00
interface.go Remove API registration-token (#36801) 2026-03-02 10:31:42 -08:00
job_emitter_test.go Support Actions concurrency syntax (#32751) 2025-10-10 18:58:55 +00:00
job_emitter.go Move jobparser from act repository to Gitea (#36699) 2026-02-22 19:33:01 +00:00
notifier_helper.go Fix actions schedule update issue (#35767) 2025-10-29 16:04:40 +00:00
notifier.go [Fix] Trigger 'unlabeled' event when label is Deleted from PR (#34316) 2025-09-24 09:45:38 -07:00
rerun_test.go Fix bugs in rerunning jobs (#29955) 2024-03-22 03:19:17 +00:00
rerun.go feat: Add Actions API rerun endpoints for runs and jobs (#36768) 2026-03-02 21:34:06 +00:00
run.go Move jobparser from act repository to Gitea (#36699) 2026-02-22 19:33:01 +00:00
schedule_tasks.go Cleanup ActionRun creation (#35624) 2025-10-12 12:23:37 +00:00
task.go Cleanup ActionRun creation (#35624) 2025-10-12 12:23:37 +00:00
variables.go Fix various bugs (#35684) 2025-10-19 00:37:50 +08:00
workflow.go WorkflowDispatch api optionally return runid (#36706) 2026-03-01 11:58:16 -08:00