From 5c92ecd3f60c95fe531cbe11668c1dd47f8cca35 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Wed, 27 Mar 2024 21:51:30 +0300 Subject: [PATCH 1/2] Added `dependabot` label assignment for PR from Dependabot --- .github/dependabot.yml | 2 ++ app/Commands/DependabotCommand.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d20ffd0..16e2975 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,5 @@ updates: directory: / schedule: interval: daily + labels: + - dependabot diff --git a/app/Commands/DependabotCommand.php b/app/Commands/DependabotCommand.php index 42ece78..d23f8e5 100644 --- a/app/Commands/DependabotCommand.php +++ b/app/Commands/DependabotCommand.php @@ -28,6 +28,10 @@ class DependabotCommand extends BaseCommand 'schedule' => [ 'interval' => 'daily', ], + + 'labels' => [ + 'dependabot', + ], ]; protected function targetPath(): ?string From d282945b62c6c4c35487b05326b1c0a1c6b368c9 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Wed, 27 Mar 2024 21:52:35 +0300 Subject: [PATCH 2/2] Fixed code-style --- app/Commands/DependabotCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Commands/DependabotCommand.php b/app/Commands/DependabotCommand.php index d23f8e5..030f120 100644 --- a/app/Commands/DependabotCommand.php +++ b/app/Commands/DependabotCommand.php @@ -28,7 +28,7 @@ class DependabotCommand extends BaseCommand 'schedule' => [ 'interval' => 'daily', ], - + 'labels' => [ 'dependabot', ],