File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ And if `allowCodeAccess` is set, additionally:
208208- GET `https://gitlab.example.com/api/v4/projects/:project/repository/compare`
209209- GET `https://gitlab.example.com/api/v4/projects/:project/repository/files/*`
210210- GET `https://gitlab.example.com/api/v4/projects/:project/repository/merge_base`
211- - GET `https://gitlab.example.com/api/v4/projects/:project/statuses/:commit`
212211- POST `https://gitlab.example.com/:namespace/:project/git-upload-pack`
212+ - POST `https://gitlab.example.com/api/v4/projects/:project/statuses/:commit`
213213<!-- EndAutogeneratedAllowList:Gitlab.AllowCodeAccess -->
214214
215215# ## Bitbucket
Original file line number Diff line number Diff line change @@ -870,7 +870,7 @@ func PopulateAllowLists(config *Config) error {
870870 // Update commit status
871871 AllowlistItem {
872872 URL : gitLabBaseUrl .JoinPath ("/projects/:project/statuses/:commit" ).String (),
873- Methods : ParseHttpMethods ([]string {"GET " }),
873+ Methods : ParseHttpMethods ([]string {"POST " }),
874874 SetRequestHeaders : headers ,
875875 },
876876 // discover refs
You can’t perform that action at this time.
0 commit comments