From 4e296232e4060b4440ca253490c3e80cded698e4 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Thu, 11 Nov 2021 16:04:09 +0000 Subject: [PATCH 1/2] try to fix a Dependabot error ``` updater | ERROR Error processing actions/checkout (RuntimeError) updater | ERROR No files changed! updater | ERROR /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 /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:676:in `generate_dependency_files_for' updater | ERROR /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:274:in `check_and_create_pull_request' updater | ERROR /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:82:in `check_and_create_pr_with_error_handling' updater | ERROR /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `block in run' updater | ERROR /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `each' updater | ERROR /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `run' updater | ERROR /home/dependabot/dependabot-updater/lib/dependabot/update_files_job.rb:17:in `perform_job' updater | ERROR /home/dependabot/dependabot-updater/lib/dependabot/base_job.rb:28:in `run' updater | ERROR bin/update_files.rb:21:in `
` ``` --- .github/workflows/build_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 5f2959871b2..222ca15c638 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -30,6 +30,6 @@ jobs: env: ${{ matrix.env }} steps: - name: Repository checkout - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 + uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97 - name: Build check (${{ env.COMPILER }}-${{ env.COMPILER_VERSION }}) run: sudo -E .github/workflows/build_test.sh From 38ac3ab10aaad96ece4805ca29354e0006a51719 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Thu, 11 Nov 2021 16:54:40 +0000 Subject: [PATCH 2/2] ci: allow Dependabot to open up to 2 PRs 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 https://github.com/yuwata/systemd/pull/2#issuecomment-967737195 --- .github/dependabot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 123014908be..c87da6a802e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,4 @@ updates: directory: "/" schedule: interval: "daily" + open-pull-requests-limit: 2