0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-13 05:21:19 +01:00
gitea/routers/web/repo
Zettat123 2f060c5834
Fix bugs in rerunning jobs (#29955)
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" />
2024-03-22 03:19:17 +00:00
..
actions Fix bugs in rerunning jobs (#29955) 2024-03-22 03:19:17 +00:00
setting Fix incorrect menu/link on webhook edit page (#29709) 2024-03-14 01:37:15 +00:00
activity.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
attachment.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
blame.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
branch.go Use repo object format name instead of detecting from git repository (#29702) 2024-03-10 22:30:36 +01:00
cherry_pick.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
code_frequency.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
commit.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
compare.go Fix missing error check of bufio.Scanner (#29882) 2024-03-19 02:20:36 +00:00
contributors.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
download.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
editor.go Editor error message misleading due to re-used key. (#29859) 2024-03-18 02:23:08 +00:00
editor_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
find.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
fork.go Move fork router functions to a standalone file (#29756) 2024-03-13 10:07:53 +00:00
githttp.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
githttp_test.go Fix http protocol auth (#27875) 2023-11-02 22:14:33 +08:00
helper.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
helper_test.go
issue.go Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
issue_content_history.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
issue_dependency.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_label.go Refactor label.IsArchived() (#29750) 2024-03-13 07:04:07 +01:00
issue_label_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_lock.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_pin.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_stopwatch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_test.go
issue_timetrack.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_watch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
middlewares.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
migrate.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
milestone.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
packages.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
patch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
projects.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
projects_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
pull.go Move fork router functions to a standalone file (#29756) 2024-03-13 10:07:53 +00:00
pull_review.go Do some performance optimize for issues list and view issue/pull (#29515) 2024-03-12 07:23:44 +00:00
pull_review_test.go Fix template error when comment review doesn't exist (#29888) 2024-03-19 04:19:48 +00:00
recent_commits.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
release.go Fix a bug returning 404 when display a single tag with no release (#29466) 2024-03-02 14:03:39 +00:00
release_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
render.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repo.go Refactor URL detection (#29960) 2024-03-21 12:02:34 +00:00
search.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
topic.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
treelist.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
view.go Update various logos and unify their filenames (#29637) 2024-03-06 22:20:05 +00:00
view_test.go
wiki.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2024-03-08 15:30:10 +08:00
wiki_test.go Make wiki default branch name changable (#29603) 2024-03-06 14:26:32 +08:00