0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-14 10:08:30 -05:00
forgejo/routers/web/repo
Denys Konovalov 29724f31c5
Refactor commit status for Actions jobs (#23786) (#24060)
Backport #23786

Refactor commit status for Actions jobs (#23786)

Highlights:
- Treat `StatusSkipped` as `CommitStatusSuccess` instead of
`CommitStatusFailure`, so it fixed #23599.
- Use the bot user `gitea-actions` instead of the trigger as the creator
of commit status.
- New format `<run_name> / <job_name> / (<event>)` for the context of
commit status to avoid conflicts.
- Add descriptions for commit status.
- Add the missing calls to `CreateCommitStatus`.
- Refactor `CreateCommitStatus` to make it easier to use.

Co-authored-by: Jason Song <i@wolfogre.com>
2023-04-11 22:37:34 -04:00
..
actions Refactor commit status for Actions jobs (#23786) (#24060) 2023-04-11 22:37:34 -04:00
activity.go
attachment.go Preserve file size when creating attachments (#23406) (#23426) 2023-03-12 12:45:39 +01:00
blame.go
branch.go Make branches list page operations remember current page (#23420) (#23460) 2023-03-14 20:51:14 +08:00
cherry_pick.go
commit.go
compare.go
download.go
editor.go
editor_test.go
find.go
http.go Return 404 instead of 403 if user can not access the repo (#23155) (#23158) 2023-02-26 20:20:44 +08:00
http_test.go
issue.go Fix redirect bug when creating issue from a project (#23971) (#23997) 2023-04-08 12:38:56 +02:00
issue_content_history.go
issue_dependency.go
issue_label.go Add loading yaml label template files (#22976) (#23232) 2023-03-01 21:57:34 -05:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go Redirect to the commit page after applying patch (#23056) (#23127) 2023-02-24 22:43:26 -05:00
projects.go Fix cancel button in the page of project edit not work (#23655) (#23813) 2023-03-30 11:15:50 +02:00
projects_test.go
pull.go Fix cannot reopen after pushing commits to a closed PR (#23189) (#23324) 2023-03-07 18:47:23 +08:00
pull_review.go
release.go Title can be empty when creating tag only (#23917) (#23961) 2023-04-07 20:13:57 +08:00
release_test.go
render.go
repo.go
runners.go
search.go
setting.go
setting_protected_branch.go
setting_secrets.go
settings_test.go
tag.go
topic.go
treelist.go
view.go Ensure RSS icon is present on all repo tabs (#23904) (#23973) 2023-04-07 14:55:30 +02:00
view_test.go
webhook.go
wiki.go
wiki_test.go