0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 03:32:00 +01:00
gitea/services/actions
Bo-Yi Wu 44781f9f5c
Implement auto-cancellation of concurrent jobs if the event is push (#25716)
- cancel running jobs if the event is push
- Add a new function `CancelRunningJobs` to cancel all running jobs of a
run
- Update `FindRunOptions` struct to include `Ref` field and update its
condition in `toConds` function
- Implement auto cancellation of running jobs in the same workflow in
`notify` function

related task: https://github.com/go-gitea/gitea/pull/22751/

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: appleboy <appleboy.tw@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: delvh <dev.lh@web.de>
2023-07-25 11:15:55 +08:00
..
clear_tasks.go Fix content holes in Actions task logs file (#25560) 2023-06-28 19:07:29 +02:00
commit_status.go Remove commit status running and warning to align GitHub (#25839) 2023-07-21 16:24:36 +08:00
init.go
job_emitter_test.go
job_emitter.go
notifier_helper.go Implement auto-cancellation of concurrent jobs if the event is push (#25716) 2023-07-25 11:15:55 +08:00
notifier.go For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00