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
adopt.go
adopt_test.go
avatar.go
avatar_test.go
branch.go
cache.go
check.go
collaboration.go
collaboration_test.go
commit.go
contributors_graph.go
contributors_graph_test.go
create.go
create_test.go
delete.go
delete_test.go
fork.go
fork_test.go
generate.go
generate_test.go
hooks.go
init.go
lfs.go
lfs_test.go
main_test.go
migrate.go
push.go
repository.go
repository_test.go
review.go
review_test.go
setting.go
template.go
transfer.go
transfer_test.go