547d32c492
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. (cherry picked from commit b150ff0bab3fc6c419edf1569a0271ebcb9734fa) |
||
---|---|---|
.. | ||
artifact.go | ||
forgejo.go | ||
forgejo_test.go | ||
main_test.go | ||
run.go | ||
run_job.go | ||
run_job_list.go | ||
run_list.go | ||
runner.go | ||
runner_list.go | ||
runner_token.go | ||
runner_token_test.go | ||
schedule.go | ||
schedule_list.go | ||
schedule_spec.go | ||
schedule_spec_list.go | ||
status.go | ||
task.go | ||
task_list.go | ||
task_output.go | ||
task_step.go | ||
tasks_version.go | ||
utils.go | ||
utils_test.go | ||
variable.go |