0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-07 06:39:16 +01:00
gitea/models/migrations/v1_21
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
..
main_test.go
v260.go Fix description of drop custom_labels migration (#25243) 2023-06-14 04:46:55 +00:00
v261.go Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
v262.go Support pull_request_target event (#25229) 2023-06-26 14:33:18 +08:00
v263.go Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
v264.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
v265.go Actions Artifacts support uploading multiple files and directories (#24874) 2023-07-21 10:42:01 +08:00
v266.go Remove commit status running and warning to align GitHub (#25839) 2023-07-21 16:24:36 +08:00
v267.go Reduce unnecessary DB queries for Actions tasks (#25199) 2023-07-24 06:11:27 +00:00
v268.go Implement auto-cancellation of concurrent jobs if the event is push (#25716) 2023-07-25 11:15:55 +08:00