gitea/services/actions
Zettat123 d0962ce3da
Move some Actions related functions from `routers` to `services` (#33280)
Move the main logic of `generateTaskContext` and `findTaskNeeds` to the
`services` layer.

This is a part of #32751, since we need the git context and `needs` to
parse the concurrency expressions.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-15 21:34:30 +08:00
..
auth.go allow the actions user to login via the jwt token (#32527) 2024-11-20 15:24:09 +00:00
auth_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
cleanup.go Clear up old Actions logs (#31735) 2024-08-02 00:42:08 +00:00
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
commit_status.go Update status check for all supported on.pull_request.types in Gitea (#33117) 2025-01-08 01:58:47 +08:00
context.go Move some Actions related functions from `routers` to `services` (#33280) 2025-01-15 21:34:30 +08:00
context_test.go Move some Actions related functions from `routers` to `services` (#33280) 2025-01-15 21:34:30 +08:00
init.go Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) 2024-12-23 09:59:16 +00:00
init_test.go Move some Actions related functions from `routers` to `services` (#33280) 2025-01-15 21:34:30 +08:00
interface.go feat(api): enhance Actions Secrets Management API for repository (#30656) 2024-04-26 21:11:49 +08:00
job_emitter.go Improve the handling of `jobs.<job_id>.if` (#31070) 2024-05-27 14:15:34 +08:00
job_emitter_test.go Improve the handling of `jobs.<job_id>.if` (#31070) 2024-05-27 14:15:34 +08:00
notifier.go Refactor RefName (#33234) 2025-01-13 14:01:53 +08:00
notifier_helper.go Update scheduled tasks even if changes are pushed by "ActionsUser" (#32246) 2024-10-13 20:28:32 +00:00
rerun.go Fix bugs in rerunning jobs (#29955) 2024-03-22 03:19:17 +00:00
rerun_test.go Fix bugs in rerunning jobs (#29955) 2024-03-22 03:19:17 +00:00
schedule_tasks.go Interpolate runs-on with variables when scheduling tasks (#30640) 2024-04-23 20:55:25 +02:00
variables.go Add API for `Variables` (#29520) 2024-03-28 20:40:35 +00:00