dependabot / dependabot-script

A simple script that demonstrates how to use Dependabot Core
MIT License
555 stars 275 forks source link

Gitlab auto-merge returns 405 #528

Open jingsam opened 3 years ago

jingsam commented 3 years ago

I set up a dependabot in my private gitlab group, enable auto-merge feature, returns 405 Method Not Allowed error:

- Updating eslint-plugin-prettier (from 3.3.0)…/builds/geoway/dependabot-script/vendor/ruby/2.6.0/gems/gitlab-4.16.1/lib/gitlab/request.rb:61:in `validate': Server responded with code 405, message: 405 Method Not Allowed. Request URI: https://gitlab.com/api/v4/projects/geoway%2Fatlas-vision/merge_requests/113/merge (Gitlab::Error::MethodNotAllowed)
    from /builds/geoway/dependabot-script/vendor/ruby/2.6.0/gems/gitlab-4.16.1/lib/gitlab/request.rb:53:in `block (2 levels) in <class:Request>'
    from /builds/geoway/dependabot-script/vendor/ruby/2.6.0/gems/gitlab-4.16.1/lib/gitlab/client/merge_requests.rb:136:in `accept_merge_request'
    from ./generic-update-script.rb:194:in `block in <main>'
    from ./generic-update-script.rb:130:in `each'
    from ./generic-update-script.rb:130:in `<main>'
Nothing4You commented 3 years ago

related to #538