Comments (4)
Dependabot should figure this out automatically based on the repo it's working on, using the logic in this class. Are you having trouble with a particular repo?
from dependabot-script.
@greysteil I am actually not able to reach this point yet 😄
Please, see #262
from dependabot-script.
And now I able to reproduce this:
- Updating dependabot-omnibus (from 0.105.6)…/builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/gitlab-4.10.0/lib/gitlab/request.rb:67:in `validate': Server responded with code 400, message: Commit message does not follow the pattern '^(revert: )?(feat|fix|docs|refactor|chore)(\(.+\))?:.{1,50}refs #\d+'. Request URI: https://gitlab.com/api/v4/projects/wemake%2Eservices%2Fkira%2Ddependencies/repository/commits (Gitlab::Error::BadRequest)
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/gitlab-4.10.0/lib/gitlab/request.rb:46:in `block (2 levels) in <class:Request>'
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/gitlab-4.10.0/lib/gitlab/client/commits.rb:158:in `create_commit'
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/dependabot-common-0.105.6/lib/dependabot/clients/gitlab_with_retries.rb:67:in `public_send'
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/dependabot-common-0.105.6/lib/dependabot/clients/gitlab_with_retries.rb:67:in `block in method_missing'
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/dependabot-common-0.105.6/lib/dependabot/clients/gitlab_with_retries.rb:83:in `retry_connection_failures'
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/dependabot-common-0.105.6/lib/dependabot/clients/gitlab_with_retries.rb:64:in `method_missing'
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/dependabot-common-0.105.6/lib/dependabot/pull_request_creator/gitlab.rb:107:in `create_commit'
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/dependabot-common-0.105.6/lib/dependabot/pull_request_creator/gitlab.rb:41:in `create'
from /builds/wemake.services/kira-dependencies/vendor/ruby/2.6.0/gems/dependabot-common-0.105.6/lib/dependabot/pull_request_creator.rb:59:in `create'
from ./generic-update-script.rb:143:in `block in <main>'
from ./generic-update-script.rb:92:in `each'
from ./generic-update-script.rb:92:in `<main>'
ERROR: Job failed: exit code 1
from dependabot-script.
I have switched my push rule check for commit messages. That's the commit message I got: build(deps): bump dependabot-omnibus from 0.105.6 to 0.105.8
The repository consists of just three commits:
Now I know that I have to refactor my push rule to: ^(revert: )?(feat|fix|docs|build|refactor|chore)(\(.+\))?:.{1,50}(refs #\d+)?
from dependabot-script.
Related Issues (20)
- Proposal for using the latest dependabot-core version HOT 2
- I'm trying to understand how to pass information to generic-update-script.rb for a private maven repository. HOT 3
- dependabot-script does not support the `lockfile-only` versioning strategy
- Dependabot Core version in Gemfile is still 0.209.0 HOT 1
- Make this repo easier to get going with AKA this repo isn't abandoned HOT 1
- Dependabot not working when running manually
- Guidance for Building Docker Image HOT 6
- How to populate OPTIONS environment variable HOT 5
- Enable Auto-Complete for Azure DevOps
- Update examples to use ecosystem specific images HOT 2
- How to do authentication for private feed when using docker image? HOT 4
- Fix for broken scripts timeframe HOT 3
- Only update minor and patch versions
- Increase timeout
- How to use private docker registry with dependabot-script? HOT 1
- Stuck scheduled
- Feature Request: Support Grouped Version Updates
- Need better handling of Octokit::TooManyRequests error
- Wrong Path to package manager
- Project status
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dependabot-script.