0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 05:50:50 +01:00
gitea/routers/web/repo
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
..
actions Implement auto-cancellation of concurrent jobs if the event is push (#25716) 2023-07-25 11:15:55 +08:00
setting Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
activity.go
attachment.go
blame.go
branch.go
cherry_pick.go
commit.go
compare.go Use frontend fetch for branch dropdown component (#25719) 2023-07-21 11:20:04 +00:00
download.go
editor_test.go
editor.go Refactor "Content" for file uploading (#25851) 2023-07-18 18:14:47 +00:00
find.go
helper_test.go
helper.go
http_test.go
http.go
issue_content_history.go
issue_dependency.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_label_test.go
issue_label.go
issue_lock.go
issue_pin.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_stopwatch.go
issue_test.go
issue_timetrack.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_watch.go
issue.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects_test.go
projects.go
pull_review.go
pull.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
release_test.go
release.go Use frontend fetch for branch dropdown component (#25719) 2023-07-21 11:20:04 +00:00
render.go
repo.go Use frontend fetch for branch dropdown component (#25719) 2023-07-21 11:20:04 +00:00
search.go
topic.go
treelist.go
view_test.go
view.go Remove db.DefaultContext in routers/ and cmd/ (#26076) 2023-07-23 23:47:27 -04:00
wiki_test.go
wiki.go