Repository navigation
ci: try to fix a Dependabot error - #21342
Conversation
``` updater | ERROR <job_232492775> Error processing actions/checkout (RuntimeError) updater | ERROR <job_232492775> No files changed! updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-github_actions-0.166.0/lib/dependabot/github_actions/file_updater.rb:28:in `updated_dependency_files' updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:676:in `generate_dependency_files_for' updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:274:in `check_and_create_pull_request' updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:82:in `check_and_create_pr_with_error_handling' updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `block in run' updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `each' updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `run' updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/lib/dependabot/update_files_job.rb:17:in `perform_job' updater | ERROR <job_232492775> /home/dependabot/dependabot-updater/lib/dependabot/base_job.rb:28:in `run' updater | ERROR <job_232492775> bin/update_files.rb:21:in `<main>` ```
Apparently version updates aren't always disabled on old forks, which leads to new PRs opened there. To somewhat mitigate the issue let's limit the number of PRs Dependabot can create. It was reported in yuwata#2 (comment)
|
@yuwata I added another commit that hopefully should mitigate the issue with forks until I figure out how to fix it properly ci: allow Dependabot to open up to 2 PRs It was reported in yuwata#2 (comment) |
|
@evverx Thanks! |
Hah, nice catch! Looks like CIs are happy as well, so LGTM, thanks! |
It was reported in https://github.com/systemd/systemd/network/updates
I pushed this commit to my fork. Dependabot successfully extracted
build_test.ymland opened https://github.com/evverx/systemd/pull/25@mrc0mmand could you take a look? The SHA points to v2.3.5: https://github.com/actions/checkout/releases/tag/v2.3.5