1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-15 06:04:32 -04:00
gitea/models/actions
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
..
artifact.go Artifact deletion in actions ui (#27172) 2024-02-18 10:33:50 +00:00
main_test.go
run_job_list.go
run_job.go
run_list.go
run.go Cancel previous runs of the same PR automatically (#29961) 2024-03-21 15:01:35 +08:00
runner_list.go
runner_token_test.go
runner_token.go
runner.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
schedule_list.go
schedule_spec_list.go
schedule_spec.go
schedule.go Cancel previous runs of the same PR automatically (#29961) 2024-03-21 15:01:35 +08:00
status.go
task_list.go
task_output.go
task_step.go
task.go
tasks_version.go
utils_test.go
utils.go
variable.go Make runs-on support variable expression (#29468) 2024-03-08 06:14:35 +00:00