From 8d52e9cb5ef94d68ff66548ad0af44fbc18ae7e2 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 11 Jun 2024 11:03:09 +0100 Subject: [PATCH] Fix dependabot.yml handling Need to ensure that this repository contains the superset of all required values for all other repositories in the Homebrew GitHub organisation so that filtering works as expected. --- .github/actions/sync/shared-config.rb | 1 + .github/dependabot.yml | 67 +++++++++++++++++++++------ 2 files changed, 53 insertions(+), 15 deletions(-) diff --git a/.github/actions/sync/shared-config.rb b/.github/actions/sync/shared-config.rb index 959fe58c..b9440459 100755 --- a/.github/actions/sync/shared-config.rb +++ b/.github/actions/sync/shared-config.rb @@ -73,6 +73,7 @@ def git(*args) ruby-macho ].freeze custom_dependabot_repos = %w[ + .github brew ci-orchestrator ].freeze diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b73172cb..b9483d9a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,18 +1,55 @@ -# This file is synced from the `.github` repository, do not modify it directly. ---- +# This file is used as a base for all other repositories in the Homebrew GitHub +# organisation so intentionally contains package-ecosystems that do not apply to +# this repository. version: 2 + updates: -- package-ecosystem: github-actions - directory: "/" - schedule: - interval: daily - allow: - - dependency-type: all - ignore: - - dependency-name: actions/stale - - dependency-name: dessant/lock-threads - groups: - artifacts: - patterns: - - actions/*-artifact + - package-ecosystem: github-actions + directory: / + schedule: + interval: daily + allow: + - dependency-type: all + # The actions in triage-issues.yml are updated in the Homebrew/.github repo + ignore: + - dependency-name: actions/stale + - dependency-name: dessant/lock-threads + groups: + artifacts: + patterns: + - actions/*-artifact + + - package-ecosystem: bundler + directory: / + schedule: + interval: daily + allow: + - dependency-type: all + + - package-ecosystem: npm + directory: / + schedule: + interval: daily + allow: + - dependency-type: all + + - package-ecosystem: docker + directory: / + schedule: + interval: daily + allow: + - dependency-type: all + + - package-ecosystem: devcontainers + directory: / + schedule: + interval: daily + allow: + - dependency-type: all + - package-ecosystem: pip + directory: / + schedule: + interval: daily + allow: + - dependency-type: all