From 6b6410cb5d03879869516ed109e92242087d52b0 Mon Sep 17 00:00:00 2001 From: Mark Allen Date: Sat, 2 Aug 2025 11:16:36 +0200 Subject: [PATCH] feat: update Dependabot configuration for new requirements - Remove deprecated 'reviewers' and 'assignees' fields from dependabot.yml - Add CODEOWNERS file to handle reviewer assignments for Dependabot PRs - Configure code ownership for dependencies, configuration, and documentation - Aligns with GitHub's new requirement to use CODEOWNERS instead of reviewers field This addresses the deprecation warning about the reviewers field being removed and ensures proper reviewer assignment for dependency update PRs. --- .github/CODEOWNERS | 22 ++++++++++++++++++++++ .github/dependabot.yml | 12 ------------ 2 files changed, 22 insertions(+), 12 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..9a68979 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,22 @@ +# Code Owners for slack-github-threads +# This file defines who will be automatically requested for review when changes are made to specific files. +# For more information, see: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners + +# Global owners - will be requested for review on all PRs +* @markhallen + +# Dependency updates (Dependabot PRs) +Gemfile @markhallen +Gemfile.lock @markhallen +Dockerfile @markhallen +.github/workflows/ @markhallen + +# Configuration files +config/ @markhallen +.kamal/ @markhallen + +# Documentation +README.md @markhallen +docs/ @markhallen +CONTRIBUTING.md @markhallen +SECURITY.md @markhallen diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 037e574..6d5010c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,10 +8,6 @@ updates: day: "monday" time: "09:00" open-pull-requests-limit: 5 - reviewers: - - "your-username" # Replace with actual GitHub username - assignees: - - "your-username" # Replace with actual GitHub username commit-message: prefix: "deps" prefix-development: "deps-dev" @@ -39,10 +35,6 @@ updates: day: "monday" time: "09:00" open-pull-requests-limit: 3 - reviewers: - - "your-username" # Replace with actual GitHub username - assignees: - - "your-username" # Replace with actual GitHub username commit-message: prefix: "ci" include: "scope" @@ -58,10 +50,6 @@ updates: day: "monday" time: "09:00" open-pull-requests-limit: 3 - reviewers: - - "your-username" # Replace with actual GitHub username - assignees: - - "your-username" # Replace with actual GitHub username commit-message: prefix: "docker" include: "scope"