gitea/services/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
..
auth_test.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-05 17:34:42 +00:00
auth.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-05 17:34:42 +00:00
cleanup.go Expire artifacts before deleting them physically (#29241) 2024-02-18 22:25:14 +08:00
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
commit_status.go Show commit status for releases (#29149) 2024-02-19 10:27:05 +00:00
init.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
job_emitter_test.go The job should always run when if is always() (#29464) 2024-02-28 11:54:44 +01:00
job_emitter.go The job should always run when if is always() (#29464) 2024-02-28 11:54:44 +01:00
notifier_helper.go Cancel previous runs of the same PR automatically (#29961) 2024-03-21 15:01:35 +08:00
notifier.go Fix invalid link of the commit status when ref is tag (#29752) 2024-03-19 07:23:40 +00:00
schedule_tasks.go Cancel previous runs of the same PR automatically (#29961) 2024-03-21 15:01:35 +08:00