You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
Bo-Yi Wu 44781f9f5c
Implement auto-cancellation of concurrent jobs if the event is push (#25716)
- cancel running jobs if the event is push
- Add a new function `CancelRunningJobs` to cancel all running jobs of a
run
- Update `FindRunOptions` struct to include `Ref` field and update its
condition in `toConds` function
- Implement auto cancellation of running jobs in the same workflow in
`notify` function

related task: https://github.com/go-gitea/gitea/pull/22751/

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: appleboy <appleboy.tw@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: delvh <dev.lh@web.de>
1 year ago
..
api Fix handling of Debian files with trailing slash (#26087) 1 year ago
common Less naked returns (#25713) 1 year ago
install Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 1 year ago
private Add context parameter to some database functions (#26055) 1 year ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Implement auto-cancellation of concurrent jobs if the event is push (#25716) 1 year ago
init.go Refactor path & config system (#25330) 1 year ago