dependabot / dependabot-core

🤖 Dependabot's core logic for creating update PRs.
https://docs.github.com/en/code-security/dependabot
MIT License
4.62k stars 987 forks source link

Dependabot encountered an unknown error #10513

Open AlexWayfer opened 2 weeks ago

AlexWayfer commented 2 weeks ago

Is there an existing issue for this?

Package ecosystem

Bundler

Package manager version

No response

Language version

Ruby '>= 3.0', '< 4'

Manifest location and content before the Dependabot update

/flame_app_generator.gemspec

dependabot.yml content

version: 2
updates:
  - package-ecosystem: bundler
    directory: /
    schedule:
      interval: weekly
    groups:
      bundler:
        patterns:
          - 'bundler'
          - 'bundler-*'
      toys:
        patterns:
          - 'toys'
          - 'toys-*'
          - '*_toys'
      rubocop:
        patterns:
          - 'rubocop'
          - 'rubocop-*'
      simplecov:
        patterns:
          - 'simplecov'
          - 'simplecov-*'

  - package-ecosystem: npm
    directory: /
    schedule:
      interval: weekly
    groups:
      remark:
        patterns:
          - 'remark'
          - 'remark-*'

Updated dependency

No response

What you expected to see, versus what you actually saw

Running Dependabot.

Native package manager behavior

OK.

Images of the diff or a link to the PR, issue, or logs

updater | /home/dependabot/bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb:77:in `eval': (eval at /home/dependabot/bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb:77):1: syntax error, unexpected ',', expecting end-of-input (SyntaxError)
'>= 3.0', '< 4'

https://github.com/AlexWayfer/flame_app_generator/actions/runs/10604867879/job/29392453827

logs_27725288555.zip

Smallest manifest that reproduces the issue

No response

AlexWayfer commented 2 weeks ago

And another example: https://github.com/AlexWayfer/flame_generate_toys/network/updates/875674393