gitea/models
sillyguodong 023e61e678
Create commit status when event is `pull_request_sync` (#23683)
Fix: #23674
If the type of `hook_event` is `pull_request_sync`, also need to insert
a record of `commit_status` into DB.
Because `pull_request` event and `pull_request_sync` event have the same
payload, so the code is reusable.

Screenshot:

![image](https://user-images.githubusercontent.com/33891828/227465436-1b436807-d0b2-4a2b-8890-09d96c7f666d.png)
2023-03-24 16:05:48 -04:00
..
actions Create commit status when event is `pull_request_sync` (#23683) 2023-03-24 16:05:48 -04:00
activities Improve indices for `action` table (#23532) 2023-03-24 23:44:33 +08:00
admin
asymkey
auth Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
avatars Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
db Test renderReadmeFile (#23185) 2023-03-09 09:24:23 +08:00
dbfs
fixtures Replace `repo.namedBlob` by `git.TreeEntry`. (#22898) 2023-03-15 16:51:39 -05:00
git Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
issues add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
migrations Improve indices for `action` table (#23532) 2023-03-24 23:44:33 +08:00
organization Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
packages Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
perm
project Use `project.IconName` instead of repeated unreadable `if-else` chains (#23538) 2023-03-19 14:44:48 +02:00
pull
repo Fix tags sort by creation time (descending) on branch/tag dropdowns (#23491) 2023-03-16 12:01:10 -05:00
secret
system Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
unit
unittest Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
user Add login name and source id for admin user searching API (#23376) 2023-03-15 19:53:01 +08:00
webhook Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go