0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 06:18:39 +01:00
gitea/services/repository
Jason Song b150ff0bab
Cancel previous runs of the same PR automatically (#29961)
Follow #25716. Also cancel previous runs for `pull_request_sync`.

It's not a bug since it original PR said "if the event is push".

The main change is
https://github.com/go-gitea/gitea/pull/29961/files#diff-08adda3f8ae0360937f46abb1f4418603bd3518522baa356be11c6c7ac4abcc3.

And also rename `CancelRunningJobs` to `CancelPreviousJobs` to make it
more clear.
2024-03-21 15:01:35 +08:00
..
archiver
commitstatus
files Add download URL for executable files (#28260) 2024-03-06 16:10:06 +00:00
adopt_test.go
adopt.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
avatar_test.go
avatar.go
branch.go Cancel previous runs of the same PR automatically (#29961) 2024-03-21 15:01:35 +08:00
cache.go
check.go
collaboration_test.go
collaboration.go
commit.go
contributors_graph_test.go
contributors_graph.go
create_test.go
create.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
delete_test.go
delete.go
fork_test.go
fork.go
generate_test.go
generate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
hooks.go
init.go
lfs_test.go
lfs.go
main_test.go
migrate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
push.go Add cache for branch divergence on branch list page (#29577) 2024-03-08 10:21:24 +00:00
repository_test.go
repository.go
review_test.go
review.go
setting.go
template.go
transfer_test.go
transfer.go