summaryrefslogtreecommitdiffstats
path: root/services/packages/debian/repository.go
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2024-03-22 11:57:10 +0800
committerGitHub <noreply@github.com>2024-03-22 03:57:10 +0000
commitf91b4dd959f14d2916fa21c8fa9d3fa7ab3efdef (patch)
treef43d525a7c752fb47955e0f628a955760da54357 /services/packages/debian/repository.go
parent6ef986d47452f36b101edc3cc9e3c41ad480eb09 (diff)
downloadgitea-f91b4dd959f14d2916fa21c8fa9d3fa7ab3efdef.tar.gz
gitea-f91b4dd959f14d2916fa21c8fa9d3fa7ab3efdef.zip
Fix bugs in rerunning jobs (#29955) (#29983)
Backport #29955 by @Zettat123 Fix #28761 Fix #27884 Fix #28093 ## Changes ### Rerun all jobs When rerun all jobs, status of the jobs with `needs` will be set to `blocked` instead of `waiting`. Therefore, these jobs will not run until the required jobs are completed. ### Rerun a single job When a single job is rerun, its dependents should also be rerun, just like GitHub does (https://github.com/go-gitea/gitea/issues/28761#issuecomment-2008620820). In this case, only the specified job will be set to `waiting`, its dependents will be set to `blocked` to wait the job. ### Show warning if every job has `needs` If every job in a workflow has `needs`, all jobs will be blocked and no job can be run. So I add a warning message. <img src="https://github.com/go-gitea/gitea/assets/15528715/88f43511-2360-465d-be96-ee92b57ff67b" width="480px" /> --------- Co-authored-by: Zettat123 <zettat123@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'services/packages/debian/repository.go')
0 files changed, 0 insertions, 0 deletions