forgejo/routers/web/repo
Jason Song 3e8db31a5b
Refactor commit status for Actions jobs (#23786)
Before:
<img width="353" alt="xnip_230329_163852"
src="https://user-images.githubusercontent.com/9418365/228479807-424452df-10fa-45cf-ae4b-09939c0ed54c.png">
After:
<img width="508" alt="xnip_230329_163358"
src="https://user-images.githubusercontent.com/9418365/228479923-537b54fe-9564-4105-a068-bcc75fa2a7ea.png">

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.
2023-03-29 11:27:37 -04:00
..
actions Refactor commit status for Actions jobs (#23786) 2023-03-29 11:27:37 -04:00
activity.go
attachment.go Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
blame.go
branch.go Make branches list page operations remember current page (#23420) 2023-03-14 13:11:38 +08:00
cherry_pick.go
commit.go
compare.go Fix tags sort by creation time (descending) on branch/tag dropdowns (#23491) 2023-03-16 12:01:10 -05:00
download.go
editor.go Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
editor_test.go
find.go
http.go
http_test.go
issue.go Implement Issue Config (#20956) 2023-03-28 14:22:07 -04:00
issue_content_history.go
issue_dependency.go Add API to manage issue dependencies (#17935) 2023-03-28 13:23:25 -04:00
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
lfs.go Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
main_test.go
middlewares.go
migrate.go
milestone.go
packages.go
patch.go
projects.go Fix cancel button in the page of project edit not work (#23655) 2023-03-24 16:37:56 +08:00
projects_test.go
pull.go
pull_review.go Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2023-03-04 02:13:37 -05:00
release.go Fix tags view (#23243) 2023-03-27 21:41:33 +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 Implement Issue Config (#20956) 2023-03-28 14:22:07 -04:00
view_test.go
webhook.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
wiki.go
wiki_test.go