0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
forgejo/models/actions
Jason Song 547d32c492
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.

(cherry picked from commit b150ff0bab3fc6c419edf1569a0271ebcb9734fa)
2024-03-26 16:51:56 +01:00
..
artifact.go Artifact deletion in actions ui (#27172) 2024-02-23 09:06:14 +01:00
forgejo.go [CLI] implement forgejo-cli 2024-02-05 13:33:58 +01:00
forgejo_test.go [CLI] implement forgejo-cli 2024-02-05 13:33:58 +01:00
main_test.go
run.go Cancel previous runs of the same PR automatically (#29961) 2024-03-26 16:51:56 +01:00
run_job.go
run_job_list.go
run_list.go Fix schedule tasks bugs (#28691) 2024-03-25 16:25:02 +01:00
runner.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
runner_list.go
runner_token.go
runner_token_test.go
schedule.go Cancel previous runs of the same PR automatically (#29961) 2024-03-26 16:51:56 +01:00
schedule_list.go
schedule_spec.go
schedule_spec_list.go
status.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
task.go
task_list.go
task_output.go
task_step.go
tasks_version.go
utils.go
utils_test.go
variable.go Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00