forgejo/services/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
..
auth.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-11 23:36:58 +07:00
auth_test.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-11 23:36:58 +07:00
cleanup.go
clear_tasks.go
commit_status.go
init.go
job_emitter.go
job_emitter_test.go
main_test.go
notifier.go Fix workflow trigger event IssueChangeXXX bug (#29559) 2024-03-06 12:10:47 +08:00
notifier_helper.go Cancel previous runs of the same PR automatically (#29961) 2024-03-26 16:51:56 +01:00
notifier_helper_test.go
schedule_tasks.go Cancel previous runs of the same PR automatically (#29961) 2024-03-26 16:51:56 +01:00